mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix name of PyObject_GetAttrString
This commit is contained in:
parent
cda3d7d0e7
commit
d90e5b1012
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ From the viewpoint of of C access to Python services, we have:
|
|||
This function always succeeds.
|
||||
\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.
|
||||
Returns the attribute value on success, or {\NULL} on failure.
|
||||
This is the equivalent of the Python expression: \code{o.attr_name}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue