Skip to content

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 [email protected]


📚 Documentation preview 📚: https://cpython-previews--112310.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 <[email protected]>
@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:36
@hugovk hugovk merged commit bfc6d91 into python:3.12 Nov 22, 2023
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.

3 participants