def __init__(self, encoding=None, macros=month_names, person_fields=Person.valid_roles, keyless_entries=False, **kwargs): BaseParser.__init__(self, encoding, **kwargs) self.macros = CaseInsensitiveDict(macros) self.person_fields = CaseInsensitiveSet(person_fields) self.keyless_entries = keyless_entries
def __init__(self, encoding=None, macros=month_names, person_fields=Person.valid_roles, keyless_entries=False, **kwargs ): BaseParser.__init__(self, encoding, **kwargs) self.macros = dict(macros) self.person_fields = person_fields self.keyless_entries = keyless_entries