code: def makeBookmark(self, pno=0):
          
          if self.isClosed or self.isEncrypted:
              raise ValueError("operation illegal for closed / encrypted doc")
  
          return _fitz.Document_makeBookmark(self, pno)
docs: Make page bookmark in a reflowable document.