summaryrefslogtreecommitdiffstats
path: root/Modules/itertoolsmodule.c
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-09-03 13:37:19 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-09-03 13:37:19 (GMT)
commitc554f725a09fc14a08ba2613682a961bd2216d45 (patch)
treef152652ee822cae321f21b5989d630ba88bf9e51 /Modules/itertoolsmodule.c
parenta0f482a7ffea8ee35f4ca103e3a69862364d4025 (diff)
downloadcpython-c554f725a09fc14a08ba2613682a961bd2216d45.zip
cpython-c554f725a09fc14a08ba2613682a961bd2216d45.tar.gz
cpython-c554f725a09fc14a08ba2613682a961bd2216d45.tar.bz2
Issue #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
Diffstat (limited to 'Modules/itertoolsmodule.c')
-rw-r--r--Modules/itertoolsmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index bd10ee4..c751184 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -3978,10 +3978,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)