diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-07-11 03:36:35 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-07-11 03:36:35 (GMT) |
commit | 3b107f99c7e9289fe0935ef7d9f9b30518045f66 (patch) | |
tree | 79023e621985362b21b3f609f1669eed6828f193 | |
parent | 2ef16328e82ae9b9715251e41b8abf4b95ae6f20 (diff) | |
download | cpython-3b107f99c7e9289fe0935ef7d9f9b30518045f66.zip cpython-3b107f99c7e9289fe0935ef7d9f9b30518045f66.tar.gz cpython-3b107f99c7e9289fe0935ef7d9f9b30518045f66.tar.bz2 |
remove unneeded error check
-rw-r--r-- | Objects/stringlib/formatter.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h index 7b29a9d..ba2a251 100644 --- a/Objects/stringlib/formatter.h +++ b/Objects/stringlib/formatter.h @@ -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 */ |