Commit 7c5714f7 authored by R. David Murray's avatar R. David Murray

Update example in doctest chapter that uses math.floor to reflect the

fact that the result is an int in py3k.  Thanks to 'flox' for pointing out
the discrepancy.
parent 9520a430
......@@ -343,7 +343,7 @@ The fine print:
>>> assert "Easy!"
>>> import math
>>> math.floor(1.9)
1.0
1
and as many leading whitespace characters are stripped from the expected output
as appeared in the initial ``'>>> '`` line that started the example.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment