Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 8639:027a1dad1353 | 8640:8e86a797e596 |
|---|---|
| 349 * pass the error on; but if | 349 * pass the error on; but if |
| 350 * no error occurred it's not | 350 * no error occurred it's not |
| 351 * clear that the caller knew | 351 * clear that the caller knew |
| 352 * what she was doing. */ | 352 * what she was doing. */ |
| 353 PyErr_SetString(PyExc_SystemError, | 353 PyErr_SetString(PyExc_SystemError, |
| 354 "NULL object passed to mkvalue"); | 354 "NULL object passed to Py_BuildValue"); |
| 355 return v; | 355 return v; |
| 356 } | 356 } |
| 357 | 357 |
| 358 case ':': | 358 case ':': |
| 359 case ',': | 359 case ',': |
| 361 case '\t': | 361 case '\t': |
| 362 break; | 362 break; |
| 363 | 363 |
| 364 default: | 364 default: |
| 365 PyErr_SetString(PyExc_SystemError, | 365 PyErr_SetString(PyExc_SystemError, |
| 366 "bad format char passed to mkvalue"); | 366 "bad format char passed to Py_BuildValue"); |
| 367 return NULL; | 367 return NULL; |
| 368 | 368 |
| 369 } | 369 } |
| 370 } | 370 } |
| 371 } | 371 } |
