mirror of
https://github.com/python/cpython.git
synced 2025-08-17 15:21:26 +00:00
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. ........
This commit is contained in:
parent
200888fea3
commit
ae7dd8fab0
2 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue