Skip to content
New issue

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

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

Already on GitHub? # to your account

Deprecated Aliases to Built-In Types #69

Open
suvan-kumar opened this issue Jul 18, 2024 · 1 comment
Open

Deprecated Aliases to Built-In Types #69

suvan-kumar opened this issue Jul 18, 2024 · 1 comment
Assignees

Comments

@suvan-kumar
Copy link
Collaborator

Python Documentation - Deprecated Aliases

typing.List[] to be replaced with list[], typing.Optional[] to be replaced with x | None

@suvan-kumar suvan-kumar self-assigned this Jul 18, 2024
@suvan-kumar
Copy link
Collaborator Author

list[] requires Python 3.9, the pipe operator for Optionals requires Python 3.10. The lower bound of TAT-C is currently Python 3.8, so this change cannot be made at the moment.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant