diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-09-03 13:38:55 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-09-03 13:38:55 (GMT) |
commit | 207fe0118720e025f0ef77797c80f169601c802c (patch) | |
tree | 0e604a78d9eb8aefe2296e07950f1b444e589bec | |
parent | e8de29669d4788a0a2f5deab665d4b02f53ef5c2 (diff) | |
parent | c554f725a09fc14a08ba2613682a961bd2216d45 (diff) | |
download | cpython-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/ACKS | 1 | ||||
-rw-r--r-- | Modules/itertoolsmodule.c | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -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) |