Skip to content
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

Fix annotations #14

Merged
merged 2 commits into from
May 20, 2021
Merged

Fix annotations #14

merged 2 commits into from
May 20, 2021

Conversation

Pablompg
Copy link
Contributor

As stated from https://www.python.org/dev/peps/pep-0526/ to create List annotations the right way of doing it is List[int] = []
However from python 3.9 onwards, list[int] = [] is also accepted

Copy link
Owner

@manusimidt manusimidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@manusimidt manusimidt merged commit f0960da into manusimidt:main May 20, 2021
@Pablompg Pablompg deleted the FixAnnotations branch May 24, 2021 07:42
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.

None yet

2 participants