[Python-checkins] r69526 - python/branches/py3k/Modules/itertoolsmodule.c

raymond.hettinger python-checkins at python.org
Thu Feb 12 11:19:59 CET 2009


Author: raymond.hettinger
Date: Thu Feb 12 11:19:59 2009
New Revision: 69526

Log:
Fix spaces/tabs in example.

Modified:
   python/branches/py3k/Modules/itertoolsmodule.c

Modified: python/branches/py3k/Modules/itertoolsmodule.c
==============================================================================
--- python/branches/py3k/Modules/itertoolsmodule.c	(original)
+++ python/branches/py3k/Modules/itertoolsmodule.c	Thu Feb 12 11:19:59 2009
@@ -3031,13 +3031,12 @@
 \n\
 Return a count object whose .__next__() method returns consecutive\n\
 integers starting from zero or, if specified, from firstval.\n\
-If step is specified, counts by that interval.\n\
-Same as:\n\
+If step is specified, counts by that interval.  Equivalent to:\n\n\
     def count(firstval=0, step=1):\n\
         x = firstval\n\
-	    while 1:\n\
+        while 1:\n\
             yield x\n\
-		    x += step\n");
+            x += step\n");
 
 static PyTypeObject count_type = {
 	PyVarObject_HEAD_INIT(NULL, 0)


More information about the Python-checkins mailing list