Raymond Hettinger <rhettin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue4648> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com