Fix spaces/tabs in example.

This commit is contained in:
Raymond Hettinger 2009-02-12 10:19:59 +00:00
parent 365a1864fd
commit 6dfff19743

View File

@ -3031,13 +3031,12 @@ PyDoc_STRVAR(count_doc,
\n\ \n\
Return a count object whose .__next__() method returns consecutive\n\ Return a count object whose .__next__() method returns consecutive\n\
integers starting from zero or, if specified, from firstval.\n\ integers starting from zero or, if specified, from firstval.\n\
If step is specified, counts by that interval.\n\ If step is specified, counts by that interval. Equivalent to:\n\n\
Same as:\n\
def count(firstval=0, step=1):\n\ def count(firstval=0, step=1):\n\
x = firstval\n\ x = firstval\n\
while 1:\n\ while 1:\n\
yield x\n\ yield x\n\
x += step\n"); x += step\n");
static PyTypeObject count_type = { static PyTypeObject count_type = {
PyVarObject_HEAD_INIT(NULL, 0) PyVarObject_HEAD_INIT(NULL, 0)