Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] Fix docstring and var name of itertools recipe (GH-112113) #112311

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 22, 2023

prepend() works with arbitrary iterables, not only iterators. In fact,
the example given uses a list, which is iterable, but not an iterator.
(cherry picked from commit 6c47eac)

Co-authored-by: Sebastian Rittau srittau@rittau.biz


📚 Documentation preview 📚: https://cpython-previews--112311.org.readthedocs.build/

`prepend()` works with arbitrary iterables, not only iterators. In fact,
the example given uses a `list`, which is iterable, but not an iterator.
(cherry picked from commit 6c47eac)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
@bedevere-app bedevere-app bot added awaiting review docs Documentation in the Doc dir skip news labels Nov 22, 2023
@hugovk hugovk enabled auto-merge (squash) November 22, 2023 05:37
@hugovk hugovk merged commit 640454f into python:3.11 Nov 22, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants