[Python-checkins] cpython (2.7): Close #18912: Fix indentation in docstring
eli.bendersky
python-checkins at python.org
Tue Sep 3 15:42:30 CEST 2013
http://hg.python.org/cpython/rev/a559cda6a498
changeset: 85509:a559cda6a498
branch: 2.7
parent: 85498:869cbcabb934
user: Eli Bendersky <eliben at gmail.com>
date: Tue Sep 03 06:41:58 2013 -0700
summary:
Close #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
files:
Modules/itertoolsmodule.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -3426,10 +3426,10 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list