You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
Activity
ericsnowcurrently commentedon Jan 27, 2013
http://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:
ericsnowcurrently commentedon Jan 27, 2013
Here's an updated patch after feedback. Thanks Ezio!
serhiy-storchaka commentedon Jun 3, 2018
Do you mind to create a PR Eric?
ericsnowcurrently commentedon Jun 4, 2018
I'll definitely take a look. It might not be until Friday though.
ericsnowcurrently commentedon Jun 5, 2018
I found some time to at least get the patch to apply cleanly to master and to make a PR. :)
csabella commentedon Jun 5, 2018
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 commentedon Jun 13, 2018
@cheryl, thanks for pointing that out. I'll take a look.
ericsnowcurrently commentedon Jun 14, 2018
New changeset 9e7c921 by Eric Snow in branch 'master':
bpo-17045: Improve C-API doc for PyTypeObject. (gh-7413)
9e7c921