[issue40679] show class name in method invocation TypeError
Chris Jerdonek
report at bugs.python.org
Tue May 19 18:59:51 EDT 2020
Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:
Thanks! I think it does.
Also, I see now that using the __qualname__ is better than including the object's type for locating the method because you can have cases like super().foo() or even--
class A:
def foo(self):
pass
def bar():
pass
A.foo = bar
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40679>
_______________________________________
More information about the Python-bugs-list
mailing list