summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-22 03:54:15 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-22 03:54:15 (GMT)
commit3b2b34790ff86abcf87cfcfe061fd9fa8cb0ab32 (patch)
treefcf7e3d2c49b3eab598a0e888acbca162379df8c /Objects/floatobject.c
parentf57736e77a40aba1278d506e05655b03b0db8596 (diff)
downloadcpython-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