diff Objects/unicodeobject.c @ 63101:5cff058d6ced 3.1

Merged revisions 82978 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82978 | stefan.krah | 2010-07-19 19:58:26 +0200 (Mon, 19 Jul 2010) | 3 lines Sub-issue of #9036: Fix incorrect use of Py_CHARMASK. ........
author Stefan Krah <stefan@bytereef.org>
date Mon, 19 Jul 2010 18:01:13 +0000
parents c81fc1ffe946
children dbc8da813630
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Mon Jul 19 14:39:36 2010 +0000
+++ b/Objects/unicodeobject.c	Mon Jul 19 18:01:13 2010 +0000
@@ -9304,7 +9304,7 @@
                 else if (c >= '0' && c <= '9') {
                     prec = c - '0';
                     while (--fmtcnt >= 0) {
-                        c = Py_CHARMASK(*fmt++);
+                        c = *fmt++;
                         if (c < '0' || c > '9')
                             break;
                         if ((prec*10) / 10 != prec) {