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

Skip to content

Commit 8178a22

Browse files
author
Thomas Heller
committed
Documentation for PyDescr_NewClassMethod was missing - here's at least
the function prototype. Already backported to release23-maint.
1 parent 5de3378 commit 8178a22

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/api/concrete.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2362,6 +2362,11 @@ \subsection{Descriptor Objects \label{descriptor-objects}}
23622362
\versionadded{2.2}
23632363
\end{cfuncdesc}
23642364

2365+
\begin{cfuncdesc}{PyObject*}{PyDescr_NewClassMethod}{PyTypeObject *type,
2366+
PyMethodDef *method}
2367+
\versionadded{2.3}
2368+
\end{cfuncdesc}
2369+
23652370
\begin{cfuncdesc}{int}{PyDescr_IsData}{PyObject *descr}
23662371
Returns true if the descriptor objects \var{descr} describes a data
23672372
attribute, or false if it describes a method. \var{descr} must be a

0 commit comments

Comments
 (0)