Skip to content

builtins: accept old-style iterables to iter#7817

Merged
srittau merged 2 commits intopython:masterfrom
hauntsaninja:getitemiter
May 10, 2022
Merged

builtins: accept old-style iterables to iter#7817
srittau merged 2 commits intopython:masterfrom
hauntsaninja:getitemiter

Conversation

@hauntsaninja
Copy link
Copy Markdown
Collaborator

A bit of a fig-leaf. In situations where you're stuck with an old-style
iterable and you really need to iterate over it, you can iterate over
iter(it) instead.

hauntsaninja and others added 2 commits May 9, 2022 20:56
A bit of a fig-leaf. In situations where you're stuck with an old-style
iterable and you really need to iterate over it, you can iterate over
iter(it) instead.
@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants