summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/threadmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c
index 01d8305..461953e 100644
--- a/Modules/threadmodule.c
+++ b/Modules/threadmodule.c
@@ -321,7 +321,6 @@ initthread()
/* Add a symbolic constant */
d = PyModule_GetDict(m);
ThreadError = PyString_FromString("thread.error");
- Py_INCREF(ThreadError);
PyDict_SetItemString(d, "error", ThreadError);
/* Check for errors */