[issue4648] Fix n//x to n/x in the Docs

Raymond Hettinger report at bugs.python.org
Sat Dec 13 01:21:10 CET 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Retro, the code is correct as it stands.  Floor division is intended
(int // int --> int).  I think you've misunderstood true division where
the / operator used to mean floor division when supplied with integer
arguments but now returns a float instead.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list