-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Utilize types in the Python docs #2959
Comments
Since which version of Python were these python types introduced? |
From 3.5: I don't know whether it is backported to 2.7, but I guess we will drop the support for 2.7 soon |
Yes, we will drop 2.7 soon, so, it shouldn't be an issue. I just wanted to check this feature was not too recent (e.g., Python 3.8 or the like). |
Closing as duplicate of #2385. |
Closing #2385 instead is better. |
Maybe, the Python documentation would be more readable by utilizing the Python typing. For example, instead of:
we could write
The same applies to the implementation.
The text was updated successfully, but these errors were encountered: