Mercurial > cpython-lru_cache-weakref
comparison Python/errors.c @ 37779:7bbb9b5f7adc legacy-trunk
moduleName can be NULL
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 17 Apr 2006 00:33:23 +0000 |
| parents | 833f384ebd41 |
| children | ee2139935a1d |
comparison
equal
deleted
inserted
replaced
| 37778:be238cb26d32 | 37779:7bbb9b5f7adc |
|---|---|
| 602 PyFile_WriteString(className, f); | 602 PyFile_WriteString(className, f); |
| 603 if (v && v != Py_None) { | 603 if (v && v != Py_None) { |
| 604 PyFile_WriteString(": ", f); | 604 PyFile_WriteString(": ", f); |
| 605 PyFile_WriteObject(v, f, 0); | 605 PyFile_WriteObject(v, f, 0); |
| 606 } | 606 } |
| 607 Py_DECREF(moduleName); | 607 Py_XDECREF(moduleName); |
| 608 } | 608 } |
| 609 PyFile_WriteString(" in ", f); | 609 PyFile_WriteString(" in ", f); |
| 610 PyFile_WriteObject(obj, f, 0); | 610 PyFile_WriteObject(obj, f, 0); |
| 611 PyFile_WriteString(" ignored\n", f); | 611 PyFile_WriteString(" ignored\n", f); |
| 612 PyErr_Clear(); /* Just in case */ | 612 PyErr_Clear(); /* Just in case */ |
