]> granicus.if.org Git - python/commitdiff
Documentation for PyDescr_NewClassMethod was missing - here's at least
authorThomas Heller <theller@ctypes.org>
Mon, 9 Feb 2004 10:47:11 +0000 (10:47 +0000)
committerThomas Heller <theller@ctypes.org>
Mon, 9 Feb 2004 10:47:11 +0000 (10:47 +0000)
the function prototype.

Already backported to release23-maint.

Doc/api/concrete.tex

index efcf2997b028ce29513b8d35a0229910fddf1057..43180ccb5fa36203d9bf2ff28a811b0b0c16b2b7 100644 (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