From 64278cf5f77a7279e3b288f32c90092d16c55c2c Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 13 Jan 1997 22:09:43 +0000 Subject: initthread(): Removed extraneous Py_INCREF(ThreadError) --- Modules/threadmodule.c | 1 - 1 file changed, 1 deletion(-) 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 */ -- cgit v0.12