summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-03-03 16:02:10 (GMT)
committerGuido van Rossum <guido@python.org>1997-03-03 16:02:10 (GMT)
commitd90e5b101218665c1e9a111ebf949ce84aa2ab99 (patch)
treefe8540a9a782207b90f4815aeab49229591adb26 /Doc
parentcda3d7d0e7c5a507bee1ee1610745271af25dea9 (diff)
downloadcpython-d90e5b101218665c1e9a111ebf949ce84aa2ab99.zip
cpython-d90e5b101218665c1e9a111ebf949ce84aa2ab99.tar.gz
cpython-d90e5b101218665c1e9a111ebf949ce84aa2ab99.tar.bz2
Fix name of PyObject_GetAttrString
Diffstat (limited to 'Doc')
-rw-r--r--Doc/extref.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extref.tex b/Doc/extref.tex
index 183abd0..fed1262 100644
--- a/Doc/extref.tex
+++ b/Doc/extref.tex
@@ -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}.