diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-22 09:20:30 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-22 09:20:30 (GMT) |
commit | 914a81841f881122f95eb5a9330a3ef96de174cd (patch) | |
tree | 31cbc47bc08ffc432bcf58c777d564e6417aebdf /README | |
parent | 57c179c5b92f1cbe21e23b514f34f75e0d32bbfb (diff) | |
download | cpython-914a81841f881122f95eb5a9330a3ef96de174cd.zip cpython-914a81841f881122f95eb5a9330a3ef96de174cd.tar.gz cpython-914a81841f881122f95eb5a9330a3ef96de174cd.tar.bz2 |
Get doctest to pass. The problem was int/int -> float now. There
were some cases where an int was assumed.
Also had to change the string of the exception when dividing and int by zero.
Not sure what the best error message should be. Currently
5 / 0 yields the message: ZeroDivisionError: float division
That isn't entirely correct. But I'm not sure what else to do.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions