remove unneeded error check

This commit is contained in:
Benjamin Peterson 2010-07-11 03:36:35 +00:00
parent 2ef16328e8
commit 3b107f99c7
1 changed files with 0 additions and 8 deletions

View File

@ -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 */