Mercurial > cpython-lru_cache-weakref
diff Python/exceptions.c @ 15318:8aa947e1eee8 legacy-trunk
Ka-Ping Yee <ping@lfw.org>:
Changes to error messages to increase consistency & clarity.
This (mostly) closes SourceForge patch #101839.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 24 Oct 2000 19:57:45 +0000 |
| parents | 03401af36b5c |
| children | 1e756f93bf5d |
line wrap: on
line diff
--- a/Python/exceptions.c Tue Oct 24 17:16:32 2000 +0000 +++ b/Python/exceptions.c Tue Oct 24 19:57:45 2000 +0000 @@ -188,7 +188,7 @@ /* Watch out for being called to early in the bootstrapping process */ if (PyExc_TypeError) { PyErr_SetString(PyExc_TypeError, - "unbound method must be called with class instance 1st argument"); + "unbound method must be called with instance as first argument"); } return NULL; }
