]> granicus.if.org Git - python/commit
Improve the error message issued when an unbound method is called with
authorGuido van Rossum <guido@python.org>
Fri, 24 Aug 2001 18:48:27 +0000 (18:48 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 24 Aug 2001 18:48:27 +0000 (18:48 +0000)
commita15dece51975ddc94b488a64c1326d3e39566c59
treed128f1162933101a8dd6a729c6fd784892d38f78
parent1e2775f370538fc216b2ddba6c4f38bee538c560
Improve the error message issued when an unbound method is called with
an inappropriate first argument.  Now that there are more ways for
this to fail, make sure to report the name of the class of the
expected instance and of the actual instance.
Objects/classobject.c