mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Ka-Ping Yee <ping@lfw.org>:
Changes to error messages to increase consistency & clarity. This (mostly) closes SourceForge patch #101839.
This commit is contained in:
parent
bd6f4fba1b
commit
661ea26b3d
16 changed files with 186 additions and 144 deletions
|
@ -188,7 +188,7 @@ get_self(PyObject *args)
|
|||
/* 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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue