Fixed issue 5782: formatting with commas didn't work if no specifier type code was given.

This commit is contained in:
Eric Smith 2009-04-22 16:20:47 +00:00
parent 5533ff6a2e
commit ebafbb705c
2 changed files with 7 additions and 0 deletions

View file

@ -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: