-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Clarify one-item tuple #114745
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
Clarify one-item tuple #114745
Conversation
A 'single tuple' means 'one typle, of whatever length.
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.
Looks good!
(preexisting, but singleton is a little overloaded...)
To me, a singleton is a class with one instance, like |
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 agree with @hauntsaninja -- I'd remove the phrase (a.k.a. a *singleton*)
(I don't think it really adds any clarity). But other than that, looks good :)
Agreed. The sentence flows better without the parenthetical 'singleton' comment. |
Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
A 'single tuple' means 'one typle, of whatever length. Remove the unneeded and slight distracting parenthetical 'singleton' comment. (cherry picked from commit a1332a9) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
GH-114757 is a backport of this pull request to the 3.12 branch. |
A 'single tuple' means 'one typle, of whatever length. Remove the unneeded and slight distracting parenthetical 'singleton' comment. (cherry picked from commit a1332a9) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
GH-114758 is a backport of this pull request to the 3.11 branch. |
A 'single tuple' means 'one typle, of whatever length. Remove the unneeded and slight distracting parenthetical 'singleton' comment.
A 'single tuple' means 'one tuple, of whatever length.