mirror of https://github.com/python/cpython
Fix name of PyObject_GetAttrString
This commit is contained in:
parent
cda3d7d0e7
commit
d90e5b1012
|
@ -80,7 +80,7 @@ From the viewpoint of of C access to Python services, we have:
|
||||||
This function always succeeds.
|
This function always succeeds.
|
||||||
\end{cfuncdesc}
|
\end{cfuncdesc}
|
||||||
|
|
||||||
\begin{cfuncdesc}{PyObject*}{PyObject_AttrString}{PyObject *o, char *attr_name}
|
\begin{cfuncdesc}{PyObject*}{PyObject_GetAttrString}{PyObject *o, char *attr_name}
|
||||||
Retrieve an attributed named attr_name form object o.
|
Retrieve an attributed named attr_name form object o.
|
||||||
Returns the attribute value on success, or {\NULL} on failure.
|
Returns the attribute value on success, or {\NULL} on failure.
|
||||||
This is the equivalent of the Python expression: \code{o.attr_name}.
|
This is the equivalent of the Python expression: \code{o.attr_name}.
|
||||||
|
|
Loading…
Reference in New Issue