Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 28de8d4

Browse files
committed
Add a (very) simple description of PyType_Ready().
1 parent 0babc44 commit 28de8d4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/api/concrete.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ \subsection{Type Objects \label{typeObjects}}
7575
\end{cfuncdesc}
7676

7777
\begin{cfuncdesc}{int}{PyType_Ready}{PyTypeObject *type}
78+
Finalize a type object. This should be called on all type objects
79+
to finish their initialization. This function is responsible for
80+
adding inherited slots from a type's base class. Returns \code{0}
81+
on success, or returns \code{-1} and sets an exception on error.
7882
\versionadded{2.2}
7983
\end{cfuncdesc}
8084

0 commit comments

Comments
 (0)