-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-97797: Improve documentation for typing.Annotated #105365
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
Conversation
Thanks @AlexWaygood for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry @AlexWaygood and @JelleZijlstra, I had trouble checking out the |
Sorry, @AlexWaygood and @JelleZijlstra, I could not cleanly backport this to |
Thanks @AlexWaygood for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry @AlexWaygood and @JelleZijlstra, I had trouble checking out the |
Thanks @AlexWaygood for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…105365) (cherry picked from commit e26d296) Co-authored-by: Alex Waygood <[email protected]>
GH-105448 is a backport of this pull request to the 3.12 branch. |
…thonGH-105365). (cherry picked from commit e26d296) Co-authored-by: Alex Waygood <[email protected]>
GH-105449 is a backport of this pull request to the 3.11 branch. |
…. (#105449) (cherry picked from commit e26d296) Co-authored-by: Alex Waygood <[email protected]>
__metadata__
attributenot-REPL-but-also-not-something-you'd-ever-put-in-a-.py-file
comparisons.ValueRange
,MaxLen
andctype
example classes. I've seen a fair few users get confused about these and think thatValueRange
(for example) is actually part of thetyping
-module API. I think defining them in the code examples makes this a little clearer.📚 Documentation preview 📚: https://cpython-previews--105365.org.readthedocs.build/