parameters: (self, filterline)
docstring: Initialize a filter from a line in a filter file.
docstring_summary: Initialize a filter from a line in a filter file.
docstring_tokens: Initialize a filter from a line in a filter file .
function: def __init__(self, filterline):
          """Initialize a filter from a line in a filter file."""
          self._orgline = filterline
          filepattern, text = filterline.split(':', 1)
          if filepattern == '*':
              self._filematcher = lambda x: x is not None
          elif filepattern:
              self._filematcher = lambda x: x and fnmatch(x, '*/' + filepattern)
          else:
              self._filematcher = lambda x: x is None
          self._textpattern = text.strip()
          self._count = 0
function_tokens: def __init__ ( self , filterline ) : self . _orgline = filterline filepattern , text = filterline . split ( ':' , 1 ) if filepattern == '*' : self . _filematcher = lambda x : x is not None elif filepattern : self . _filematcher = lambda x : x and fnmatch ( x , '*/' + filepattern ) else : self . _filematcher = lambda x : x is None self . _textpattern = text . strip ( ) self . _count = 0