Mercurial > cpython-lru_cache-weakref
comparison Python/errors.c @ 21034:3fc06c1149a4 2.1
backport of tim's 2.66:
. SF bug [#467265] Compile errors on SuSe Linux on IBM/s390.
- errors.c, PyErr_Format: add a va_end() to balance the va_start().
| author | Anthony Baxter <anthonybaxter@gmail.com> |
|---|---|
| date | Wed, 21 Nov 2001 05:41:03 +0000 |
| parents | 86fd723f2928 |
| children |
comparison
equal
deleted
inserted
replaced
| 21033:223953069a1a | 21034:3fc06c1149a4 |
|---|---|
| 507 | 507 |
| 508 _PyString_Resize(&string, s - PyString_AsString(string)); | 508 _PyString_Resize(&string, s - PyString_AsString(string)); |
| 509 | 509 |
| 510 PyErr_SetObject(exception, string); | 510 PyErr_SetObject(exception, string); |
| 511 Py_XDECREF(string); | 511 Py_XDECREF(string); |
| 512 | 512 va_end(vargs); |
| 513 return NULL; | 513 return NULL; |
| 514 } | 514 } |
| 515 | 515 |
| 516 | 516 |
| 517 PyObject * | 517 PyObject * |
