code: def _getXrefString(self, xref, compressed=1):
          
          if self.isClosed:
              raise ValueError("operation illegal for closed doc")
  
          return _fitz.Document__getXrefString(self, xref, compressed)
docs: _getXrefString(self, xref, compressed=1) -> PyObject *