human
Here's a good function header given the following:
I wrote the below code

    def filter_lines(lines):
        for line in lines:
            try:
                line = line.decode('ascii')
            except UnicodeDecodeError:
                raise NetworkXError('input    is    not    ASCII-encoded')
            if (not isinstance(line, str)):
                lines = str(lines)
            if (line and (line[(-1)] == '\n')):
                line = line[:(-1)]
            (yield line)
    G = parse_gml_lines(filter_lines(path), label, destringizer)
    return G

What's a good function header?
assistant
#Here's a good function header.

@open_file(0, mode='rb')
def read_gml(path, label='label', destringizer=None):