diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_operator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_operator.c b/Modules/_operator.c index dc67820..3bf8c12 100644 --- a/Modules/_operator.c +++ b/Modules/_operator.c @@ -1583,6 +1583,7 @@ methodcaller_repr(methodcallerobject *mc) goto done; if (i >= numtotalargs) { i = -1; + Py_DECREF(onerepr); break; } PyTuple_SET_ITEM(argreprs, i, onerepr); |