(cell)
return parsed_cell
Applies the rules to the bunch of text describing a cell and returns the
    corresponding dictionary
Applies the rules to the bunch of text describing a cell and returns the
    corresponding dictionary
Applies the rules to the bunch of text describing a cell and returns the corresponding dictionary
def parse_cell(cell):
    """Applies the rules to the bunch of text describing a cell and returns the
    corresponding dictionary"""
    parsed_cell={}
    for key in rules:
        rule=rules[key]
        parsed_cell.update({key:rule(cell)})
    return parsed_cell
def parse_cell ( cell ) : parsed_cell = { } for key in rules : rule = rules [ key ] parsed_cell . update ( { key : rule ( cell ) } ) return parsed_cell