mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Fixed issue 5782: formatting with commas didn't work if no specifier type code was given.
This commit is contained in:
parent
5533ff6a2e
commit
ebafbb705c
2 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue