[New-bugs-announce] [issue6354] Old floating point representation in 3.1 tutorial

Pierre Bourdon report at bugs.python.org
Sun Jun 28 09:58:46 CEST 2009


New submission from Pierre Bourdon <root at delroth.is-a-geek.org>:

In part 3.1.1 of the Python 3.1 tutorial, the following code sample is
obsolete :

>>> 8/5 # Fractions aren't lost when dividing integers
1.6000000000000001


In a fresh Python 3.1, 8/5 is now displayed as 1.6. The note below the
code sample should be updated too.

----------
assignee: georg.brandl
components: Documentation
messages: 89768
nosy: delroth, georg.brandl
severity: normal
status: open
title: Old floating point representation in 3.1 tutorial
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6354>
_______________________________________


More information about the New-bugs-announce mailing list