You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The classmethod and staticmethod are redefining the instance methods. If order of each of bark and growl is flipped, the instance method will redefine the static/class method.
The text was updated successfully, but these errors were encountered:
Thanks for this work, I'm discovering nooks and crannies of Python that I wasn't previously aware of.
For the following section, I wanted to point out that what seems to matter is order of definition of the class attributes.
python_koans/koans/about_class_attributes.py
Lines 63 to 75 in 800cdf5
The classmethod and staticmethod are redefining the instance methods. If order of each of
bark
andgrowl
is flipped, the instance method will redefine the static/class method.The text was updated successfully, but these errors were encountered: