diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-11-23 03:13:23 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-11-23 03:13:23 (GMT) |
commit | 7c5714f78cc384deb696f48a02c015f6e492d403 (patch) | |
tree | ec7d38b5fb29c7755074a5a4318080af907c020a | |
parent | 9520a430efb88e129f6c416b8f65c56fec884ecd (diff) | |
download | cpython-7c5714f78cc384deb696f48a02c015f6e492d403.zip cpython-7c5714f78cc384deb696f48a02c015f6e492d403.tar.gz cpython-7c5714f78cc384deb696f48a02c015f6e492d403.tar.bz2 |
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.
-rw-r--r-- | Doc/library/doctest.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index 2aa3ae1..4952e05 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -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. |