Skip to content

Use type hinting generics In standard collections #1377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 10, 2024
Merged

Conversation

tleonhardt
Copy link
Member

Use type hinting generics In standard collections instead of importing things like List from typing.

This feature was added in Python 3.9 and makes the code slightly cleaner.

We no longer import things like Dict, List, Set, or Tuple from typing.

@tleonhardt tleonhardt added this to the 3.0.0 milestone Nov 10, 2024
@tleonhardt tleonhardt self-assigned this Nov 10, 2024
@tleonhardt tleonhardt merged commit 57ffd7b into 3.0.0 Nov 10, 2024
38 checks passed
@tleonhardt tleonhardt deleted the typing_generics branch November 10, 2024 18:51
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.

1 participant