python_koans
python_koans copied to clipboard
AboutAttributeAccess: super would resolve to object
I was confused by the comment below because it looks to me like super()
would resolve the the parent class which is object
.
https://github.com/gregmalcolm/python_koans/blob/800cdf5db9e8539681723ca541e03b28e2117b28/koans/about_attribute_access.py#L106-L108
I substituted the line with return super().__getattribute__(attr_name)
and it worked fine.