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.

作者 Retro
收信人 Retro, georg.brandl
日期 2008-12-12.23:34:06
SpamBayes Score 0.00016966653
Marked as misclassified
Message-id <1229124847.63.0.939793321835.issue4648@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2008-12-12 23:34:07Retro修改recipients: + Retro, georg.brandl
2008-12-12 23:34:07Retro修改messageid: <1229124847.63.0.939793321835.issue4648@psf.upfronthosting.co.za>
2008-12-12 23:34:07Retro链接issue4648 messages
2008-12-12 23:34:06Retro创建