]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Changed all the examples with ugly platform-dependent float output to use
authorTim Peters <tim.peters@gmail.com>
Tue, 22 May 2001 06:54:14 +0000 (06:54 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 22 May 2001 06:54:14 +0000 (06:54 +0000)
commitbd695a716da3a532ebf0f3c32dd9d35d59de211e
treec2f1a5a1f7233c7dd615ce2d4d33feb8c336124a
parent0ba9e3ac27d814bde97bbec212a4877e73d59c64
Changed all the examples with ugly platform-dependent float output to use
numbers that display nicely after repr().  From much doctest experience
with the same trick, I believe people find examples with simple fractions
easier to understand too:  they can usually check the results in their
head, and so feel confident about what they're seeing.  Not even I get a
warm feeling from a result that looks like 70330.345024097141 ...
Doc/tut/tut.tex