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

Skip to content

Commit d90e5b1

Browse files
committed
Fix name of PyObject_GetAttrString
1 parent cda3d7d commit d90e5b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/extref.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ \section{Object Protocol}
8080
This function always succeeds.
8181
\end{cfuncdesc}
8282

83-
\begin{cfuncdesc}{PyObject*}{PyObject_AttrString}{PyObject *o, char *attr_name}
83+
\begin{cfuncdesc}{PyObject*}{PyObject_GetAttrString}{PyObject *o, char *attr_name}
8484
Retrieve an attributed named attr_name form object o.
8585
Returns the attribute value on success, or {\NULL} on failure.
8686
This is the equivalent of the Python expression: \code{o.attr_name}.

0 commit comments

Comments
 (0)