Skip to content

Improve itertools stubs#7109

Merged
JelleZijlstra merged 3 commits into
python:masterfrom
AlexWaygood:patch-1
Feb 2, 2022
Merged

Improve itertools stubs#7109
JelleZijlstra merged 3 commits into
python:masterfrom
AlexWaygood:patch-1

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

There are quite a few __iter__ methods in itertools that return self at runtime. They should do so in the stubs as well.

AlexWaygood and others added 2 commits February 2, 2022 16:13
There are quite a few `__iter__` methods in `itertools` that return `self` at runtime. They should do so in the stubs as well.
@github-actions

This comment has been minimized.

Comment thread stdlib/itertools.pyi Outdated
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2022

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