This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年02月23日 20:07 by zbysz, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| itertools-count-indentation.diff | zbysz, 2012年02月23日 20:07 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg154084 - (view) | Author: Zbyszek Jędrzejewski-Szmek (zbysz) * | Date: 2012年02月23日 20:07 | |
Indentation is broken. diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -3221,10 +3221,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"); |
|||
| msg154111 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年02月24日 04:43 | |
Patch LGTM. Raymond, any objection? |
|||
| msg185021 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2013年03月23日 00:26 | |
As this is a trivial patch could it be applied please? |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:27 | admin | set | github: 58309 |
| 2013年10月06日 17:35:45 | georg.brandl | set | status: open -> closed superseder: Intendation issue in example code in itertools.count documentation resolution: duplicate |
| 2013年03月23日 00:26:36 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg185021 |
| 2012年02月24日 04:43:26 | eric.araujo | set | title: example function in tertools.count is misindented -> example function in tertools.count docstring is misindented components: + Extension Modules, - Documentation, Library (Lib) nosy: + rhettinger, eric.araujo versions: + Python 2.7, Python 3.2 messages: + msg154111 stage: patch review |
| 2012年02月23日 20:07:12 | zbysz | create | |