Kaydet (Commit) 28de8d4b authored tarafından Fred Drake's avatar Fred Drake

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

üst 0babc44a
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment