commit | a15dece51975ddc94b488a64c1326d3e39566c59 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Aug 24 18:48:27 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Aug 24 18:48:27 2001 +0000 |
tree | d128f1162933101a8dd6a729c6fd784892d38f78 | |
parent | 1e2775f370538fc216b2ddba6c4f38bee538c560 [diff] |
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.