-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-45391: mark UnionType as a class in documentation #28757
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
Signed-off-by: Bernát Gábor <[email protected]>
This PR is stale because it has been open for 30 days with no activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm merging this as this is more straightforward than the rest of the list mentioned on the bpo. Those need more deliberation.
Thanks @gaborbernat for the PR, and @Fidget-Spinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Signed-off-by: Bernát Gábor <[email protected]> (cherry picked from commit e2cfc89) Co-authored-by: Bernát Gábor <[email protected]>
GH-30004 is a backport of this pull request to the 3.10 branch. |
Thanks @gaborbernat for catching this, and thank you @AlexWaygood for reminding me to check this PR. |
Signed-off-by: Bernát Gábor <[email protected]> (cherry picked from commit e2cfc89) Co-authored-by: Bernát Gábor <[email protected]>
Signed-off-by: Bernát Gábor [email protected]
https://bugs.python.org/issue45391
Things to consider the type does show up as class now in documentation:


vs before
This PR only addresses the instance in the issue report, but we should discuss if we should change all such instances in this file (there are quite a few others suffering from the same problem).