Two error messages still used the old name of the functio mkvalue() --

which is now Py_BuildValue().
This commit is contained in:
Guido van Rossum 1998-07-07 22:32:19 +00:00
parent c821d1ecc0
commit 233f4b54d3
1 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ do_mkvalue(p_format, p_va)
* clear that the caller knew
* what she was doing. */
PyErr_SetString(PyExc_SystemError,
"NULL object passed to mkvalue");
"NULL object passed to Py_BuildValue");
return v;
}
@ -363,7 +363,7 @@ do_mkvalue(p_format, p_va)
default:
PyErr_SetString(PyExc_SystemError,
"bad format char passed to mkvalue");
"bad format char passed to Py_BuildValue");
return NULL;
}