[docs] slight bug in the docs
bill murphy
bill.murphy at oracle.com
Tue Nov 29 22:49:14 CET 2011
Hi,
I'm not sure if this is a version difference, or simply a bug in the docs.
Here's what your docs say:
(http://docs.python.org/release/2.3.5/tut/node5.html)
>>> # Integer division returns the floor:
... 7/3
Here's what python on my machine says:
C:\waggle\qa\server_auto>python
Python 3.2.2 (default, Sep 4 2011, 09:51:08) [MSC v.1500 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> 7/3
2.3333333333333335
Seems not to be integer division going on... Though I'm not at all clear
if this is my particular version, or some configuration thing.
--Bill
More information about the docs
mailing list