summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-22 09:20:30 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-22 09:20:30 (GMT)
commit914a81841f881122f95eb5a9330a3ef96de174cd (patch)
tree31cbc47bc08ffc432bcf58c777d564e6417aebdf /Grammar
parent57c179c5b92f1cbe21e23b514f34f75e0d32bbfb (diff)
downloadcpython-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 'Grammar')
0 files changed, 0 insertions, 0 deletions