summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-12 16:15:10 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-12 16:15:10 (GMT)
commit28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f (patch)
tree3c257a80b00b2dff80f36c3aca66e73ae98adb51 /Doc
parent0babc44ab2696b89dd4cd60aae68da11dc6cfbf3 (diff)
downloadcpython-28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f.zip
cpython-28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f.tar.gz
cpython-28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f.tar.bz2
Add a (very) simple description of PyType_Ready().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/concrete.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex
index fd8ac4a..f175ff1 100644
--- a/Doc/api/concrete.tex
+++ b/Doc/api/concrete.tex
@@ -75,6 +75,10 @@ This section describes Python type objects and the singleton object
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyType_Ready}{PyTypeObject *type}
+ Finalize a type object. This should be called on all type objects
+ to finish their initialization. This function is responsible for
+ adding inherited slots from a type's base class. Returns \code{0}
+ on success, or returns \code{-1} and sets an exception on error.
\versionadded{2.2}
\end{cfuncdesc}