diff options
author | Guido van Rossum <guido@python.org> | 1998-06-22 03:54:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-06-22 03:54:15 (GMT) |
commit | 3b2b34790ff86abcf87cfcfe061fd9fa8cb0ab32 (patch) | |
tree | fcf7e3d2c49b3eab598a0e888acbca162379df8c /Objects/floatobject.c | |
parent | f57736e77a40aba1278d506e05655b03b0db8596 (diff) | |
download | cpython-3b2b34790ff86abcf87cfcfe061fd9fa8cb0ab32.zip cpython-3b2b34790ff86abcf87cfcfe061fd9fa8cb0ab32.tar.gz cpython-3b2b34790ff86abcf87cfcfe061fd9fa8cb0ab32.tar.bz2 |
Fix the tests for various anomalies in the string-to-numbers
conversions. Formerly, for example, int('-') would return 0 instead
of raising ValueError, and int(' 0') would raise ValueError
(complaining about a null byte!) instead of 0...
Diffstat (limited to 'Objects/floatobject.c')
0 files changed, 0 insertions, 0 deletions