| .. versionadded:: 3.9 (the field exists since 3.8 but it's only used since 3.9) | ||
|
|
||
|
|
||
| .. c:member:: char PyTypeObject.tp_watched |
There was a problem hiding this comment.
I would rather the docs say "Internal. Do not use."
TBH, I would like the whole of the type struct to be "do not use", but let's not make things any worse.
Sorry, something went wrong.
There was a problem hiding this comment.
Are you wanting the existing text removed and replaced so it says only "Internal, do not use"? Or do you want to add "Internal, do not use" but also keep the description of what it is?
Sorry, something went wrong.
There was a problem hiding this comment.
Pushed a version that removes the existing text, but I can easily re-add it.
Sorry, something went wrong.
✅ Deploy Preview for python-cpython-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Sorry, something went wrong.
|
That looks good. Better to document it as "do not use", than have folks try to figure out how to (mis)use it. |
Sorry, something went wrong.
| | :c:member:`~PyTypeObject.tp_vectorcall` | :c:type:`vectorcallfunc` | | | | | | | ||
| +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+ | ||
| | :c:member:`~PyTypeObject.tp_watched` | char | | | | | | | ||
| +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+ |
There was a problem hiding this comment.
If this slot is internal, it should be in square brackets like tp_version_tag
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks, sorry I missed this. Added in #100271
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.