diff options
author | Fred Drake <fdrake@acm.org> | 2002-04-12 16:15:10 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-04-12 16:15:10 (GMT) |
commit | 28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f (patch) | |
tree | 3c257a80b00b2dff80f36c3aca66e73ae98adb51 | |
parent | 0babc44ab2696b89dd4cd60aae68da11dc6cfbf3 (diff) | |
download | cpython-28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f.zip cpython-28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f.tar.gz cpython-28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f.tar.bz2 |
Add a (very) simple description of PyType_Ready().
-rw-r--r-- | Doc/api/concrete.tex | 4 |
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} |