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