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

View File

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