| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Good cleanup!
Sorry, something went wrong.
| return '<sentinel>' | ||
|
|
||
|
|
||
| _sentinel = _Sentinel() |
There was a problem hiding this comment.
I think that = object() is good enough for this case.
Sorry, something went wrong.
There was a problem hiding this comment.
I disagree. Using = object() would mean that the displayed signature would be very ugly if somebody did help(typing.NamedTuple) in the REPL
Sorry, something went wrong.
There was a problem hiding this comment.
Also, we'll be able to reuse the _Sentinel class when we do #105570 :)
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #105566
📚 Documentation preview 📚: https://cpython-previews--105609.org.readthedocs.build/