Skip to content

AboutAttributeAccess: super would resolve to object #250

Description

@programmer-ke

I was confused by the comment below because it looks to me like super() would resolve the the parent class which is object.

# Using 'object' directly because using super() here will also
# trigger a __getattribute__() call.
return object.__getattribute__(self, attr_name)

I substituted the line with return super().__getattribute__(attr_name) and it worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions