Reverted 16efa8d27e4c after discussion with Eric.

This commit is contained in:
Vinay Sajip 2014-04-15 13:52:21 +01:00
parent 1e53f8d9bf
commit 809f90f369
3 changed files with 0 additions and 13 deletions

View file

@ -846,13 +846,6 @@ format_long_internal(PyObject *value, const InternalFormatSpec *format,
" format specifier 'c'");
goto done;
}
/* error to request alternate format */
if (format->alternate) {
PyErr_SetString(PyExc_ValueError,
"Alternate form (#) not allowed with integer"
" format specifier 'c'");
goto done;
}
/* taken from unicodeobject.c formatchar() */
/* Integer input truncated to a character */