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 jeroen-vangoey
Recipients docs@python, jeroen-vangoey
Date 2013-09-03.08:08:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378195706.84.0.122771342837.issue18912@psf.upfronthosting.co.za>
In-reply-to
Content
The sample code in the itertools.count documentation should be indented by 4 spaces.

For 2.7.4: lines 3429 till 3432 in http://hg.python.org/releasing/2.7.4/file/026ee0057e2d/Modules/itertoolsmodule.c#l3429

For 3.4.0a1: lines 3981 till 3984 in http://hg.python.org/releasing/py3.4.0a1/file/edc668a667ad/Modules/itertoolsmodule.c#l3981

Also, the example code uses the arguments 'firstval' and 'step' whereas the documentation of the function itself uses the arguments 'start' and 'step'. Maybe better be consistent and use as first argument 'start' in both cases?
History
Date User Action Args
2013-09-03 08:08:26jeroen-vangoeysetrecipients: + jeroen-vangoey, docs@python
2013-09-03 08:08:26jeroen-vangoeysetmessageid: <1378195706.84.0.122771342837.issue18912@psf.upfronthosting.co.za>
2013-09-03 08:08:26jeroen-vangoeylinkissue18912 messages
2013-09-03 08:08:26jeroen-vangoeycreate