| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ntinels Link both to the sentinel builtin and note the 3.15 change. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sorry, something went wrong.
Documentation build overview1 file changed ± library/dataclasses.html |
Sorry, something went wrong.
|
I think that @hugovk should take a deep look at whether the documentation is proper or not. And we also wait his approval for backport :) |
Sorry, something went wrong.
The old repr is not stated, so "had a different repr" is not actionable, and the sentinel docs already describe how a sentinel reprs itself. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
| .. data:: MISSING | ||
|
|
||
| A sentinel value signifying a missing default or default_factory. | ||
| A :class:`sentinel` object signifying a missing default or default_factory. |
There was a problem hiding this comment.
We could also add the missing markup:
| A :class:`sentinel` object signifying a missing default or default_factory. | |
| A :class:`sentinel` object signifying a missing default or *default_factory*. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you, I added the markup on the part. Is it okay to backport this markup?
Sorry, something went wrong.
There was a problem hiding this comment.
Yes, we can also backport that, and it's part of the automated backport: #155927
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
|
GH-155927 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
#149086 converted dataclasses.MISSING and dataclasses.KW_ONLY to instances of the builtin sentinel, but the dataclasses documentation was not updated to match.
This PR:
Documentation-only change, so no Misc/NEWS.d entry — please add the skip news label. Needs a backport to 3.15, where the change landed.