summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-02-27 17:18:35 (GMT)
committerEli Bendersky <eliben@gmail.com>2012-02-27 17:18:35 (GMT)
commit49ac6f44920c9af21f9bb06944b6e7f23fd4ac58 (patch)
treed87b559326e5996d0aba1af04ab3acf6a67f09b5 /Doc/c-api
parente13b7fe1f3f55b246deeae184e5941d7f5250ace (diff)
downloadcpython-49ac6f44920c9af21f9bb06944b6e7f23fd4ac58.zip
cpython-49ac6f44920c9af21f9bb06944b6e7f23fd4ac58.tar.gz
cpython-49ac6f44920c9af21f9bb06944b6e7f23fd4ac58.tar.bz2
Some corrections for the Doc/extending documentation. Closes #14129
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/type.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst
index f8e01c0..cfd0d78 100644
--- a/Doc/c-api/type.rst
+++ b/Doc/c-api/type.rst
@@ -75,7 +75,8 @@ Type Objects
.. c:function:: PyObject* PyType_GenericNew(PyTypeObject *type, PyObject *args, PyObject *kwds)
- XXX: Document.
+ Generic handler for the :attr:`tp_new` slot of a type object. Initialize
+ all instance variables to *NULL*.
.. c:function:: int PyType_Ready(PyTypeObject *type)