diff options
author | Barry Warsaw <barry@python.org> | 1997-01-13 22:09:43 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-01-13 22:09:43 +0000 |
commit | 64278cf5f77a7279e3b288f32c90092d16c55c2c (patch) | |
tree | cc60a8af6f0ccbef065bddf09c0e470137265a46 /Modules/threadmodule.c | |
parent | 3de721d073f009a2a44287be148ea44258946dc0 (diff) | |
download | cpython-git-64278cf5f77a7279e3b288f32c90092d16c55c2c.tar.gz |
initthread(): Removed extraneous Py_INCREF(ThreadError)
Diffstat (limited to 'Modules/threadmodule.c')
-rw-r--r-- | Modules/threadmodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 */ |