From: Walter Dörwald Date: Sun, 3 May 2009 22:46:07 +0000 (+0000) Subject: There's no %A in Python 2.x! X-Git-Tag: v2.7a1~1297 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=342c8db859948e38d2f14a0c9104e1598df17825;p=python There's no %A in Python 2.x! --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 8e18302a24..c30d56874c 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -681,7 +681,7 @@ PyUnicode_FromFormatV(const char *format, va_list vargs) if (*f == '%') { if (*(f+1)=='%') continue; - if (*(f+1)=='S' || *(f+1)=='R' || *(f+1)=='A') + if (*(f+1)=='S' || *(f+1)=='R') ++callcount; while (isdigit((unsigned)*f)) width = (width*10) + *f++ - '0';