summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2009-04-22 17:04:27 (GMT)
committerEric Smith <eric@trueblade.com>2009-04-22 17:04:27 (GMT)
commit937491d1a9a327a782f3717fd1a0d4d9ad8fdc36 (patch)
tree9b4d0fb0e6424e3ceed042b4599169a46725db53 /Objects
parent4738470402eff47379672a45fa5eb447461b38a0 (diff)
downloadcpython-937491d1a9a327a782f3717fd1a0d4d9ad8fdc36.zip
cpython-937491d1a9a327a782f3717fd1a0d4d9ad8fdc36.tar.gz
cpython-937491d1a9a327a782f3717fd1a0d4d9ad8fdc36.tar.bz2
Merged revisions 71802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71802 | eric.smith | 2009-04-22 12:20:47 -0400 (Wed, 22 Apr 2009) | 1 line Fixed issue 5782: formatting with commas didn't work if no specifier type code was given. ........
Diffstat (limited to 'Objects')
-rw-r--r--Objects/stringlib/formatter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h
index 61ca12b..9cbd2cc 100644
--- a/Objects/stringlib/formatter.h
+++ b/Objects/stringlib/formatter.h
@@ -248,6 +248,7 @@ parse_internal_render_format_spec(STRINGLIB_CHAR *format_spec,
case 'G':
case '%':
case 'F':
+ case '\0':
/* These are allowed. See PEP 378.*/
break;
default: