summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-09-03 13:38:55 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-09-03 13:38:55 (GMT)
commit207fe0118720e025f0ef77797c80f169601c802c (patch)
tree0e604a78d9eb8aefe2296e07950f1b444e589bec
parente8de29669d4788a0a2f5deab665d4b02f53ef5c2 (diff)
parentc554f725a09fc14a08ba2613682a961bd2216d45 (diff)
downloadcpython-207fe0118720e025f0ef77797c80f169601c802c.zip
cpython-207fe0118720e025f0ef77797c80f169601c802c.tar.gz
cpython-207fe0118720e025f0ef77797c80f169601c802c.tar.bz2
Issue #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
-rw-r--r--Misc/ACKS1
-rw-r--r--Modules/itertoolsmodule.c8
2 files changed, 5 insertions, 4 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index a821cb9..e7c98a9 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -445,6 +445,7 @@ Yannick Gingras
Matt Giuca
Wim Glenn
Michael Goderbauer
+Jeroen Van Goey
Christoph Gohlke
Tim Golden
Guilherme Gonçalves
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)