def loadLinks(self):
CheckParent(self)<EOL>val = _fitz.Page_loadLinks(self)<EOL>if val:<EOL><INDENT>val.thisown = True<EOL>val.parent = weakref.proxy(self) <EOL>self._annot_refs[id(val)] = val<EOL>if self.parent.isPDF:<EOL><INDENT>val.xref = self._getLinkXrefs()[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>val.xref = <NUM_LIT:0><EOL><DEDENT><DEDENT>return val<EOL>
loadLinks(self) -> Link