diff Objects/unicodeobject.c @ 63100:73ddb8b2b574

Sub-issue of #9036: Fix incorrect use of Py_CHARMASK.
author Stefan Krah <stefan@bytereef.org>
date Mon, 19 Jul 2010 17:58:26 +0000
parents cf4f7f98f19e
children 0540e67d7924
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Mon Jul 19 14:20:53 2010 +0000
+++ b/Objects/unicodeobject.c	Mon Jul 19 17:58:26 2010 +0000
@@ -9242,7 +9242,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) {