Fix name of PyObject_GetAttrString

This commit is contained in:
Guido van Rossum 1997-03-03 16:02:10 +00:00
parent cda3d7d0e7
commit d90e5b1012
1 changed files with 1 additions and 1 deletions

View File

@ -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}.