]> granicus.if.org Git - python/commitdiff
Two error messages still used the old name of the functio mkvalue() --
authorGuido van Rossum <guido@python.org>
Tue, 7 Jul 1998 22:32:19 +0000 (22:32 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Jul 1998 22:32:19 +0000 (22:32 +0000)
which is now Py_BuildValue().

Python/modsupport.c

index 0ddc300ae07fafc15c43a0fa457fe30650d928de..76fc2d963c4eeaa1f4783d016e55f86574357015 100644 (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;
 
                }