mirror of https://github.com/python/cpython
remove unneeded error check
This commit is contained in:
parent
2ef16328e8
commit
3b107f99c7
|
@ -776,14 +776,6 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
|
|||
goto done;
|
||||
}
|
||||
|
||||
/* Error to specify a comma. */
|
||||
if (format->thousands_separators) {
|
||||
PyErr_SetString(PyExc_ValueError,
|
||||
"Thousands separators not allowed with integer"
|
||||
" format specifier 'c'");
|
||||
goto done;
|
||||
}
|
||||
|
||||
/* taken from unicodeobject.c formatchar() */
|
||||
/* Integer input truncated to a character */
|
||||
/* XXX: won't work for int */
|
||||
|
|
Loading…
Reference in New Issue