code: def embeddedFileDel(self, name):
          
          if self.isClosed or self.isEncrypted:
              raise ValueError("operation illegal for closed / encrypted doc")
  
          return _fitz.Document_embeddedFileDel(self, name)
docs: Delete embedded file by name.