Issue 5171: itertools.product docstring missing 'repeat' argument (original) (raw)

Issue5171

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/49421

classification

Title: itertools.product docstring missing 'repeat' argument
Type: Stage:
Components: Library (Lib) Versions: Python 3.0, Python 3.1, Python 2.7, Python 2.6

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: mark.dickinson, mrjbq7, rhettinger
Priority: high Keywords:

Created on 2009-02-06 16:49 by mark.dickinson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg81281 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2009-02-06 16:49
The docstring for itertools.product seems to be missing any mention of the repeat keyword argument, in both the trunk and py3k, and the maintenance branches. (The itertools.rst docs are fine, though.)
msg81432 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2009-02-09 01:53
Thanks, I'll fix this up.
msg81467 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2009-02-09 18:40
Fixed in r69466. Benjamin, do you want to merge it to 2.6, 3.0, and 3.1?
msg125608 - (view) Author: mrjbq7 (mrjbq7) Date: 2011-01-07 00:42
I noticed a Reddit post[1] today that makes the comment that the docstring should read: product(*iterables[, repeat]) --> product object instead of: product(*iterables) --> product object --- [1] http://www.reddit.com/r/Python/comments/ex68j/omission_in_docstring_for_itertoolsproduct/
History
Date User Action Args
2022-04-11 14:56:45 admin set github: 49421
2011-01-07 00:42:09 mrjbq7 set nosy: + mrjbq7messages: +
2009-02-09 18:40:42 rhettinger set status: open -> closedresolution: fixedmessages: +
2009-02-09 01:53:06 rhettinger set priority: highmessages: +
2009-02-06 16:49:03 mark.dickinson create