bpo-17045: Improve C-API doc for PyTypeObject. (gh-7413)

The existing doc had a number of info gaps and was a little hard to use.  This patch provides several quick-reference tables as well as examples.
This commit is contained in:
Eric Snow 2018-06-14 15:46:35 -06:00 committed by GitHub
parent d22fc0bc7d
commit 9e7c92193c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1180 additions and 129 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,7 @@
.. highlightlang:: c
.. _new-types-topics:
*****************************************
Defining Extension Types: Assorted Topics
*****************************************

View File

@ -0,0 +1,3 @@
Improve the C-API doc for PyTypeObject. This includes adding several quick-
reference tables and a lot of missing slot/typedef entries. The existing
entries were also cleaned up with a slightly more consistent format.