Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0e03d6f2
Commit
0e03d6f2
authored
Jun 22, 2013
by
Andrew Kuchling
Browse files
Options
Browse Files
Download
Plain Diff
Merge from 3.3
parents
b54b0ca0
da30acf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Modules/itertoolsmodule.c
Modules/itertoolsmodule.c
+3
-2
No files found.
Modules/itertoolsmodule.c
View file @
0e03d6f2
...
...
@@ -1554,7 +1554,8 @@ static PyMethodDef islice_methods[] = {
};
PyDoc_STRVAR
(
islice_doc
,
"islice(iterable, [start,] stop [, step]) --> islice object
\n
\
"islice(iterable, stop) --> islice object
\n
\
islice(iterable, start, stop[, step]) --> islice object
\n
\
\n
\
Return an iterator whose next() method returns selected values from an
\n
\
iterable. If start is specified, will skip all preceding elements;
\n
\
...
...
@@ -2229,7 +2230,7 @@ static PyMethodDef product_methods[] = {
};
PyDoc_STRVAR
(
product_doc
,
"product(*iterables) --> product object
\n
\
"product(*iterables
, repeat=1
) --> product object
\n
\
\n
\
Cartesian product of input iterables. Equivalent to nested for-loops.
\n\n
\
For example, product(A, B) returns the same as: ((x,y) for x in A for y in B).
\n
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment