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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64278cf5f77a7279e3b288f32c90092d16c55c2c;p=thirdparty%2FPython%2Fcpython.git initthread(): Removed extraneous Py_INCREF(ThreadError) --- diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 01d8305d20dc..461953ea2acf 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 */