code: def _getMetadata(self, key):
          
          if self.isClosed:
              raise ValueError("operation illegal for closed doc")
  
          return _fitz.Document__getMetadata(self, key)
docs: _getMetadata(self, key) -> char *