FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

builtins: accept old-style iterables to iter by hauntsaninja · Pull Request #7817 · python/typeshed · GitHub

Repository navigation

builtins: accept old-style iterables to iter - #7817

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

srittau merged 2 commits into
python:masterfrom
hauntsaninja:getitemiter

Conversation

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.

Copy link
Copy Markdown
Contributor

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL