Skip to content

Why attrib() is the only one method that doesn't contain any checks? #284

Open
@beskrovniibv

Description

@beskrovniibv

def attrib(self) -> Dict[str, str]:

While the other methods raised clear exceptions attrib() confused developers with built-in AttributeError when self.root has no attribute attrib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions