From: Barry Warsaw Date: Mon, 13 Jan 1997 22:09:43 +0000 (+0000) Subject: initthread(): Removed extraneous Py_INCREF(ThreadError) X-Git-Tag: v1.5a1~532 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64278cf5f77a7279e3b288f32c90092d16c55c2c;p=python initthread(): Removed extraneous Py_INCREF(ThreadError) --- diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 01d8305d20..461953ea2a 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 */