Fix spaces/tabs in example.

This commit is contained in:
Raymond Hettinger 2009-02-12 10:16:19 +00:00
parent 31c769ca89
commit 66373ab888
1 changed files with 3 additions and 4 deletions

View File

@ -3357,13 +3357,12 @@ PyDoc_STRVAR(count_doc,
\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)