Path 1: 16 calls (1.0)

'\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\...

builtin_method (16)

False (8) True (8)

1def IS_LINE_JUNK(line, pat=re.compile(r"\s*(?:#\s*)?$").match):
2    r"""
3    Return True for ignorable line: iff `line` is blank or contains a single '#'.
4
5    Examples:
6
7    >>> IS_LINE_JUNK('\n')
8    True
9    >>> IS_LINE_JUNK('  #   \n')
10    True
11    >>> IS_LINE_JUNK('hello\n')
12    False
13    """
14
15    return pat(line) is not None