diff options
author | Eric Smith <eric@trueblade.com> | 2009-04-22 16:20:47 +0000 |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2009-04-22 16:20:47 +0000 |
commit | c4f5aca64e7837aceb2d0ac5a210ab1d62e8ba13 (patch) | |
tree | d56152909d2e0aac003011ce8df4f77c62bb5820 /Objects/stringlib/formatter.h | |
parent | 65475e7a6417d70d934978f1f9e70871bf6d2f3a (diff) | |
download | cpython-c4f5aca64e7837aceb2d0ac5a210ab1d62e8ba13.tar.gz |
Fixed issue 5782: formatting with commas didn't work if no specifier type code was given.
Diffstat (limited to 'Objects/stringlib/formatter.h')
-rw-r--r-- | Objects/stringlib/formatter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h index 61ca12badf..9cbd2cc931 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: |