(self, docNum)
Deletes the document numbered C{docNum}.  Once a document
        is deleted it will not appear in TermDocs or TermPositions
        enumerations.  Attempts to read its field with the L{document}
        method will result in an error.  The presence of this document
        may still be reflected in the C{docFreq} statistic, though
        this will be corrected eventually as the index is further
        modified.
Deletes the document numbered C{docNum}.  Once a document
        is deleted it will not appear in TermDocs or TermPositions
        enumerations.  Attempts to read its field with the L{document}
        method will result in an error.  The presence of this document
        may still be reflected in the C{docFreq} statistic, though
        this will be corrected eventually as the index is further
        modified.
Deletes the document numbered C { docNum } . Once a document is deleted it will not appear in TermDocs or TermPositions enumerations . Attempts to read its field with the L { document } method will result in an error . The presence of this document may still be reflected in the C { docFreq } statistic though this will be corrected eventually as the index is further modified .
def delete(self, docNum):
        
        """Deletes the document numbered C{docNum}.  Once a document
        is deleted it will not appear in TermDocs or TermPositions
        enumerations.  Attempts to read its field with the L{document}
        method will result in an error.  The presence of this document
        may still be reflected in the C{docFreq} statistic, though
        this will be corrected eventually as the index is further
        modified.  """
        self.doDelete(docNum)
def delete ( self , docNum ) : self . doDelete ( docNum )