summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-04-17 00:33:23 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-04-17 00:33:23 (GMT)
commit1a26920506a033c2abac751f376f4097aecca79e (patch)
tree8c3fc26041b1f3b7aa7c984d7333145908abeb29 /Python
parentaa220a7023d0f72a8dacf96e311c66ed00c25548 (diff)
downloadcpython-1a26920506a033c2abac751f376f4097aecca79e.zip
cpython-1a26920506a033c2abac751f376f4097aecca79e.tar.gz
cpython-1a26920506a033c2abac751f376f4097aecca79e.tar.bz2
moduleName can be NULL
Diffstat (limited to 'Python')
-rw-r--r--Python/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 275a065..8327f53 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -604,7 +604,7 @@ PyErr_WriteUnraisable(PyObject *obj)
PyFile_WriteString(": ", f);
PyFile_WriteObject(v, f, 0);
}
- Py_DECREF(moduleName);
+ Py_XDECREF(moduleName);
}
PyFile_WriteString(" in ", f);
PyFile_WriteObject(obj, f, 0);