Mercurial > cpython-lru_cache-weakref
diff Modules/itertoolsmodule.c @ 85509:a559cda6a498 2.7
Close #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
| author | Eli Bendersky <eliben@gmail.com> |
|---|---|
| date | Tue, 03 Sep 2013 06:41:58 -0700 |
| parents | e07e6d828150 |
| children |
line wrap: on
line diff
--- a/Modules/itertoolsmodule.c Sun Sep 01 19:06:35 2013 -0400 +++ b/Modules/itertoolsmodule.c Tue Sep 03 06:41:58 2013 -0700 @@ -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)
