

def parse_file(self, filename, debug=False, encoding='utf-8'):
    with open(filename, 'rt', encoding=encoding) as file:
        return self.parse_stream(file, debug=debug, name=filename)

dataset/ETHPy150Open tailhook/pyzza/pyzza/parser.py Parser.parse_file/original