Three patches by Amaury Forgeot d'Arc; SF patch# 1754484.

This commit is contained in:
Guido van Rossum 2007-07-16 20:46:27 +00:00
parent 27ae52362c
commit 307fa8cc82
3 changed files with 15 additions and 9 deletions

View file

@ -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;
}