Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
gh-145526: Update typing.rst for type alias assignment syntax#145527
gh-145526: Update typing.rst for type alias assignment syntax#145527hyperkai wants to merge 3 commits intopython:mainfrom
Conversation
JelleZijlstra commentedMar 5, 2026
This is not an augmented assignment. Augmented assignment refers to e.g. |
AlexWaygood commentedMar 5, 2026
I don't find this an improvement. The existing text seems clear to me, and I don't think a link to the language reference is necessary here. |
hyperkai commentedMar 5, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Simple statement includes more than 10 statements, like expression statement, assignment statement, assert statement, pass statement, return statement, etc. So, specifying it as assignment statement is better but up to you and if you don't like the link, I'll remove it, leaving just the text "assignment statement". |
AlexWaygood commentedMar 5, 2026
The docs here are using the common English meaning of the adjective "simple". "Simple assignment" isn't a term of art here that needs to be validated against precise definitions in the language reference. The docs are just talking about assignments that are simple. |
AlexWaygood commentedMar 5, 2026
Thanks for the PR, but we'll decline this one :-) |
Uh oh!
There was an error while loading.Please reload this page.
Fix:#145526
📚 Documentation preview 📚:https://cpython-previews--145527.org.readthedocs.build/