summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorStefan Krah <stefan@bytereef.org>2010-07-19 18:24:18 (GMT)
committerStefan Krah <stefan@bytereef.org>2010-07-19 18:24:18 (GMT)
commitae7dd8fab0d49dd3e1cf71ae64ec8a386cf2061c (patch)
tree03e466c04905c5b356323942a0597391685d9827 /Objects
parent200888fea3efce24b32cdbaab254090b19be8d4e (diff)
downloadcpython-ae7dd8fab0d49dd3e1cf71ae64ec8a386cf2061c.zip
cpython-ae7dd8fab0d49dd3e1cf71ae64ec8a386cf2061c.tar.gz
cpython-ae7dd8fab0d49dd3e1cf71ae64ec8a386cf2061c.tar.bz2
Merged revisions 82980 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82980 | stefan.krah | 2010-07-19 20:06:46 +0200 (Mon, 19 Jul 2010) | 3 lines Sub-issue of #9036: Fix incorrect use of Py_CHARMASK. ........
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index d056855..571f607 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -8607,7 +8607,7 @@ PyObject *PyUnicode_Format(PyObject *format,
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) {