Repository navigation
Improve C-API doc for PyTypeObject #61247
Description
Activity
ericsnowcurrently commented
on Jan 27, 2013 MemberAuthorMore actionshttp://docs.python.org/dev/c-api/typeobj.html
I found the the documentation for PyTypeObject to be somewhat harder to use than it need be. In the end I distilled the info down for my own use. I'm comfortable with what I came up with, so I'd like to at least add a condensed version of one or two of the tables I made to the top of the doc, with the slot names linking to each description as it currently exists. Attached is a patch.
(I also plan on reformatting the doc source so the lines wrap better--70 columns or so.)
As well, I have a couple open questions that I'll address separately:
- should tp_del be added?
- inheritance of tp_flags...
- addedtype-featureA feature request or enhancementA feature request or enhancement
on Jan 27, 2013 ericsnowcurrently commented
on Jan 27, 2013 MemberAuthorMore actionsHere's an updated patch after feedback. Thanks Ezio!
Do you mind to create a PR Eric?
I'll definitely take a look. It might not be until Friday though.
I found some time to at least get the patch to apply cleanly to master and to make a PR. :)
This isn't directly related to this change, but I wanted to point out bpo-23869 since you seem to understand the topic enough to respond to that ticket.
Thanks!
ericsnowcurrently commented
on Jun 13, 2018 MemberAuthorMore actions@cheryl, thanks for pointing that out. I'll take a look.
ericsnowcurrently commented
on Jun 14, 2018 MemberAuthorMore actions
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields: