Kaydet (Commit) 8178a22e authored tarafından Thomas Heller's avatar Thomas Heller

Documentation for PyDescr_NewClassMethod was missing - here's at least

the function prototype.

Already backported to release23-maint.
üst 5de33786
......@@ -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
......
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