mirror of https://github.com/python/cpython
Documentation for PyDescr_NewClassMethod was missing - here's at least
the function prototype. Already backported to release23-maint.
This commit is contained in:
parent
5de33786a9
commit
8178a22e20
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue