

def parse_file(file_name):
    '\n    Read *file_name* and parse PEM objects from it using :func:`parse`.\n    '
    with open(file_name, 'rb') as f:
        return parse(f.read())

dataset/ETHPy150Open hynek/pem/src/pem/_core.py parse_file/original