diff options
author | Barry Warsaw <barry@python.org> | 1997-01-13 22:09:43 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-01-13 22:09:43 (GMT) |
commit | 64278cf5f77a7279e3b288f32c90092d16c55c2c (patch) | |
tree | cc60a8af6f0ccbef065bddf09c0e470137265a46 /Modules/threadmodule.c | |
parent | 3de721d073f009a2a44287be148ea44258946dc0 (diff) | |
download | cpython-64278cf5f77a7279e3b288f32c90092d16c55c2c.zip cpython-64278cf5f77a7279e3b288f32c90092d16c55c2c.tar.gz cpython-64278cf5f77a7279e3b288f32c90092d16c55c2c.tar.bz2 |
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 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 */ |