summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-22 09:20:30 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-22 09:20:30 +0000
commit914a81841f881122f95eb5a9330a3ef96de174cd (patch)
tree31cbc47bc08ffc432bcf58c777d564e6417aebdf /Python
parent57c179c5b92f1cbe21e23b514f34f75e0d32bbfb (diff)
downloadcpython-git-914a81841f881122f95eb5a9330a3ef96de174cd.tar.gz
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 'Python')
0 files changed, 0 insertions, 0 deletions