Martin v. Löwis <mar...@v.loewis.de> added the comment: > For Python 2.x that example code is fine, but Python 3.0 has this > switched now. Please read http://www.python.org/dev/peps/pep-0238/. > > True division in Python 3.0 is done with one division operator. Please > fix that code example to reflect that.
I still don't understand. The example doesn't, and shouldn't, use true division. It does, and should, use floor division, to display the divisors of a non-prime. _______________________________________ 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