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.
I was confused by the comment below because it looks to me like
super()would resolve the the parent class which isobject.python_koans/koans/about_attribute_access.py
Lines 106 to 108 in 800cdf5
I substituted the line with
return super().__getattribute__(attr_name)and it worked fine.