Skip to content

Conversation

@AlexWaygood
Copy link
Member

This PR solely consists of changing typing.Set to set, typing.FrozenSet to frozenset, and typing.Deque to deque. It should hopefully have no mypy_primer diff at all.

@github-actions
Copy link
Contributor

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

@hauntsaninja hauntsaninja merged commit 5c8e68f into python:master Nov 19, 2021
@AlexWaygood AlexWaygood deleted the set-and-frozenset branch November 19, 2021 23:10
JukkaL added a commit to JukkaL/typeshed that referenced this pull request Dec 13, 2021
`collections.abc.Set` was accidentally replaced with `set` in python#6346.
The prior is an alias to `typing.AbstractSet`, instead of
`builtins.set`.

Since `collections.abc.Set` is easily confused with `typing.Set`, it
seems clearer to use `typing.AbstractSet` here.
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.

2 participants