Kaydet (Commit) 64278cf5 authored tarafından Barry Warsaw's avatar Barry Warsaw

initthread(): Removed extraneous Py_INCREF(ThreadError)

üst 3de721d0
...@@ -321,7 +321,6 @@ initthread() ...@@ -321,7 +321,6 @@ initthread()
/* Add a symbolic constant */ /* Add a symbolic constant */
d = PyModule_GetDict(m); d = PyModule_GetDict(m);
ThreadError = PyString_FromString("thread.error"); ThreadError = PyString_FromString("thread.error");
Py_INCREF(ThreadError);
PyDict_SetItemString(d, "error", ThreadError); PyDict_SetItemString(d, "error", ThreadError);
/* Check for errors */ /* Check for errors */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment