From: Eli Bendersky Date: Tue, 3 Sep 2013 13:37:19 +0000 (-0700) Subject: Issue #18912: Fix indentation in docstring X-Git-Tag: v3.4.0a2~45^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c554f725a09fc14a08ba2613682a961bd2216d45;p=thirdparty%2FPython%2Fcpython.git Issue #18912: Fix indentation in docstring Contributed by Jeroen Van Goey --- diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index bd10ee416adb..c751184cf924 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)