parameters: (self, entry, value_pattern='')
return_statement: return nsubs
docstring: Remove an entry from the current buffer.
docstring_summary: Remove an entry from the current buffer.
docstring_tokens: Remove an entry from the current buffer .
function: def delete_entry(self, entry, value_pattern=''):
          """Remove an entry from the current buffer."""
          regexp = r'{}\s*\([^()]*{}[^()]*\)[^\n]*\n'.format(entry,
                                                             value_pattern)
          regexp = re.compile(regexp, re.MULTILINE)
          (self.cfile, nsubs) = re.subn(regexp, '', self.cfile, count=1)
          return nsubs
function_tokens: def delete_entry ( self , entry , value_pattern = '' ) : regexp = r'{}\s*\([^()]*{}[^()]*\)[^\n]*\n' . format ( entry , value_pattern ) regexp = re . compile ( regexp , re . MULTILINE ) ( self . cfile , nsubs ) = re . subn ( regexp , '' , self . cfile , count = 1 ) return nsubs