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

Unify use of typing module imports #54

Open
j2kun opened this issue Jul 30, 2022 · 1 comment
Open

Unify use of typing module imports #54

j2kun opened this issue Jul 30, 2022 · 1 comment

Comments

@j2kun
Copy link
Collaborator

j2kun commented Jul 30, 2022

Decide whether to use, e.g, list(int) or List[int] from typing. And make it consistent across all tips and solution code in the chapters.

@Josde
Copy link

Josde commented Jul 25, 2024

For added info, just in case someone wants to take a look at this, PEP 585 recommends list[int] over typing.List[int], as the latter syntax is deprecated and may be deleted in the future.

thanks for the book, by the way!

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

No branches or pull requests

2 participants