Commit e6802db7 authored by Eli Bendersky's avatar Eli Bendersky

Close #18912: Fix indentation in docstring

Contributed by Jeroen Van Goey
parent b44c8619
......@@ -3426,10 +3426,10 @@ PyDoc_STRVAR(count_doc,
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");
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