def loadPage(self, number=<NUM_LIT:0>):
if self.isClosed or self.isEncrypted:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>val = _fitz.Document_loadPage(self, number)<EOL>if val:<EOL><INDENT>val.thisown = True<EOL>val.parent = weakref.proxy(self)<EOL>pageCount = self.pageCount<EOL>n = number<EOL>while n < <NUM_LIT:0>: n += pageCount<EOL>val.number = n<EOL>self._page_refs[id(val)] = val<EOL>val._annot_refs = weakref.WeakValueDictionary()<EOL><DEDENT>return val<EOL>
loadPage(self, number=0) -> Page