code: def _delToC(self):
          
          if self.isClosed or self.isEncrypted:
              raise ValueError("operation illegal for closed / encrypted doc")
  
          val = _fitz.Document__delToC(self)
          self.initData()
  
          return val
docs: _delToC(self) -> PyObject *