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 zbysz
Recipients docs@python, zbysz
Date 2012-02-23.20:07:12
SpamBayes Score 0.108058
Marked as misclassified No
Message-id <1330027633.46.0.670191761588.issue14101@psf.upfronthosting.co.za>
In-reply-to
Content
Indentation is broken.

diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -3221,10 +3221,10 @@
 Return a count object whose .__next__() method returns consecutive values.\n\
 Equivalent to:\n\n\
     def count(firstval=0, step=1):\n\
-    x = firstval\n\
-    while 1:\n\
-        yield x\n\
-        x += step\n");
+        x = firstval\n\
+        while 1:\n\
+            yield x\n\
+            x += step\n");
History
Date User Action Args
2012-02-23 20:07:13zbyszsetrecipients: + zbysz, docs@python
2012-02-23 20:07:13zbyszsetmessageid: <1330027633.46.0.670191761588.issue14101@psf.upfronthosting.co.za>
2012-02-23 20:07:12zbyszlinkissue14101 messages
2012-02-23 20:07:12zbyszcreate