Documentation for PyDescr_NewClassMethod was missing - here's at least

the function prototype.

Already backported to release23-maint.
This commit is contained in:
Thomas Heller 2004-02-09 10:47:11 +00:00
parent 5de33786a9
commit 8178a22e20
1 changed files with 5 additions and 0 deletions

View File

@ -2362,6 +2362,11 @@ They are found in the dictionary of type objects.
\versionadded{2.2}
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyDescr_NewClassMethod}{PyTypeObject *type,
PyMethodDef *method}
\versionadded{2.3}
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyDescr_IsData}{PyObject *descr}
Returns true if the descriptor objects \var{descr} describes a data
attribute, or false if it describes a method. \var{descr} must be a