-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Description
I was confused by the comment below because it looks to me like super() would resolve the the parent class which is object.
python_koans/koans/about_attribute_access.py
Lines 106 to 108 in 800cdf5
| # 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
Labels
No labels