summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-09-03 13:41:58 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-09-03 13:41:58 (GMT)
commite6802db7d12a84a1e3bf5def71e7bc4847e811dd (patch)
treef283e57b94a682993a700ea787f5458ac7f6fe9b /Modules
parentb44c8619fed78642ff5bd786f3a0b4427ea3a10a (diff)
downloadcpython-e6802db7d12a84a1e3bf5def71e7bc4847e811dd.zip
cpython-e6802db7d12a84a1e3bf5def71e7bc4847e811dd.tar.gz
cpython-e6802db7d12a84a1e3bf5def71e7bc4847e811dd.tar.bz2
Close #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 ea82291..c0456b8 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -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)