summaryrefslogtreecommitdiffstats
path: root/Doc/api/api.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/api/api.tex')
-rw-r--r--Doc/api/api.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index 57c1008..613f62c 100644
--- a/Doc/api/api.tex
+++ b/Doc/api/api.tex
@@ -2016,7 +2016,7 @@ raises \exception{TypeError} with \var{m} as the message text.
Return the \var{i}th element of \var{o}, assuming that \var{o} was
returned by \cfunction{PySequence_Fast()}, and that \var{i} is within
bounds. The caller is expected to get the length of the sequence by
-calling \cfunction{PyObject_Size()} on \var{o}, since lists and tuples
+calling \cfunction{PySequence_Size()} on \var{o}, since lists and tuples
are guaranteed to always return their true length.
\end{cfuncdesc}