From 28de8d4b372ac6bf6adb305484b6e8a9bf21ca8f Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 12 Apr 2002 16:15:10 +0000 Subject: [PATCH] Add a (very) simple description of PyType_Ready(). --- Doc/api/concrete.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index fd8ac4a8d6e..f175ff12d7e 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}