-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
bpo-43024: improve signature (in help, etc) for functions taking sent… #24331
Conversation
Lib/traceback.py
Outdated
_sentinel = object() | ||
class _Sentinel: | ||
def __repr__(self): | ||
return "<optional>" |
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.
Maybe "<derived>"
(or something else?) instead of "<optional>"
.
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.
How about "<not specified>" or "<unspecified>"?
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 agree with the choice @iritkatriel . Thank you!
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
pythonGH-24331) …inel defaults (cherry picked from commit f73377d) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
GH-26773 is a backport of this pull request to the 3.10 branch. |
…inel defaults
https://bugs.python.org/issue43024
Automerge-Triggered-By: GH:pitrou