[docs] slight bug in the docs
georg at python.org
Sun Dec 4 10:41:18 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Am 29.11.2011 22:49, schrieb bill murphy:
> I'm not sure if this is a version difference, or simply a bug in the docs.
> Here's what your docs say:
>>>> # 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.
> 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.
this is indeed a version difference: the docs you're looking at are, well,
The division operator was changed to "true" division in Python 3; its docs
are at http://docs.python.org/py3k/.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the docs