This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Retro
Recipients Retro, georg.brandl
Date 2008-12-12.23:34:06
SpamBayes Score 0.000169667
Marked as misclassified No
Message-id <1229124847.63.0.939793321835.issue4648@psf.upfronthosting.co.za>
In-reply-to
Content
Please look at the example code in the following Python 3.0
documentation/tutorial:

http://docs.python.org/3.0/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops


The line 4 has a little fix to be made:

from
...             print(n, 'equals', x, '*', n//x)
to
...             print(n, 'equals', x, '*', n/x)


You probably noticed that n//x was proposed to be fixed to n/x. Please
note that this is Python 3.0 code. It's a small fix so I hope you won't
mind to fix this.
History
Date User Action Args
2008-12-12 23:34:07Retrosetrecipients: + Retro, georg.brandl
2008-12-12 23:34:07Retrosetmessageid: <1229124847.63.0.939793321835.issue4648@psf.upfronthosting.co.za>
2008-12-12 23:34:07Retrolinkissue4648 messages
2008-12-12 23:34:06Retrocreate