diff Objects/stringlib/formatter.h @ 53320:513dc6fa61c0

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. ........
author Eric Smith <eric@trueblade.com>
date Wed, 22 Apr 2009 17:04:27 +0000
parents b653eab13b73
children 2cde0d003ffc
line wrap: on
line diff
--- a/Objects/stringlib/formatter.h	Wed Apr 22 16:13:36 2009 +0000
+++ b/Objects/stringlib/formatter.h	Wed Apr 22 17:04:27 2009 +0000
@@ -248,6 +248,7 @@
         case 'G':
         case '%':
         case 'F':
+        case '\0':
             /* These are allowed. See PEP 378.*/
             break;
         default: