summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index a60fa8b..860e38b 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -851,7 +851,7 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
fail:
if (callresults) {
PyObject **callresult2 = callresults;
- while (callresult2 <= callresult) {
+ while (callresult2 < callresult) {
Py_DECREF(*callresult2);
++callresult2;
}