381
381
def _normalize_attribute(cls, attribute_name, attributes=None):
382
382
"""Normalize an attribute name.
385
385
pass attributes as keyword arguments internally, where dashes are not
386
386
an option. Hide the distinction by looking up the proper name in
387
387
`known_attributes` by default, but `attributes` can be passed to