Add a (very) simple description of PyType_Ready().

This commit is contained in:
Fred Drake 2002-04-12 16:15:10 +00:00
parent 0babc44ab2
commit 28de8d4b37
1 changed files with 4 additions and 0 deletions

View File

@ -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}