diff Python/modsupport.c @ 8640:8e86a797e596 legacy-trunk

Two error messages still used the old name of the functio mkvalue() -- which is now Py_BuildValue().
author Guido van Rossum <guido@python.org>
date Tue, 07 Jul 1998 22:32:19 +0000
parents 2e874a5a912f
children bd47ee068b83
line wrap: on
line diff
--- a/Python/modsupport.c	Tue Jul 07 22:25:47 1998 +0000
+++ b/Python/modsupport.c	Tue Jul 07 22:32:19 1998 +0000
@@ -351,7 +351,7 @@
 				 * 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 @@
 
 		default:
 			PyErr_SetString(PyExc_SystemError,
-				   "bad format char passed to mkvalue");
+				"bad format char passed to Py_BuildValue");
 			return NULL;
 
 		}