parameters: (iterator)
docstring: Strips and filters empty or commented lines.
docstring_summary: Strips and filters empty or commented lines.
docstring_tokens: Strips and filters empty or commented lines .
function: def ignore_comments(iterator):
      """
      Strips and filters empty or commented lines.
      """
      for line in iterator:
          line = COMMENT_RE.sub('', line)
          line = line.strip()
          if line:
              yield line
function_tokens: def ignore_comments ( iterator ) : for line in iterator : line = COMMENT_RE . sub ( '' , line ) line = line . strip ( ) if line : yield line