Commit 5f5ec8ef authored by Raymond Hettinger's avatar Raymond Hettinger

Fix spaces/tabs in example.

parent 5eac8693
......@@ -3031,13 +3031,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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment