Uh oh!
There was an error while loading. Please reload this page.
Add "how to" for the setter Argument Clinic directive - #1245
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
erlend-aasland
commented
Dec 11, 2023
Hm, instead of having two how-to's -- one for |
AlexWaygood
commented
Dec 12, 2023
(I'm travelling right now, but will do my best to review this tomorrow or Wednesday!) |
erlend-aasland
left a comment
There was a problem hiding this comment.
I left some suggestions.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| And then the implementation will work the same as a Python method which is | ||
| decorated by :py:class:`property`. |
There was a problem hiding this comment.
Not sure this should be deleted; the Python REPL example at the bottom now has no introduction explaining what it's illustrating
There was a problem hiding this comment.
Okay, I will supplement to the above descriptions.
There was a problem hiding this comment.
Hmm.. I think that "Getters" and "setters" are C functions defined in a :c:type:`PyGetSetDef` struct that facilitate :py:class:`property`-like access for a class will be enough for understand Python REPL..
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
See: python/cpython#112922
📚 Documentation preview 📚: https://cpython-devguide--1245.org.readthedocs.build/