summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/exceptions.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index acc7da5..3b79307 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -619,7 +619,6 @@ EnvironmentError_str(PyEnvironmentErrorObject *self)
PyTuple_SET_ITEM(tuple, 1, Py_None);
}
- Py_INCREF(repr);
PyTuple_SET_ITEM(tuple, 2, repr);
rtnval = PyString_Format(fmt, tuple);