code: def deleteLink(self, linkdict):
          
          CheckParent(self)
  
          val = _fitz.Page_deleteLink(self, linkdict)
          if linkdict["xref"] == 0: return
          linkid = linkdict["id"]
          try:
              linkobj = self._annot_refs[linkid]
              linkobj._erase()
          except:
              pass
  
  
          return val
docs: Delete link if PDF