summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-07 12:31:50 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-07 12:31:50 (GMT)
commit5d64421c23d2f2a3c434e140085c7c81d0b65180 (patch)
tree2ac9ce8e3072aea5814b5ce0aa26ad57fe34d023 /Doc
parent613f7c4092ccaa65b14da6bc6c09bf6c6967277c (diff)
downloadcpython-5d64421c23d2f2a3c434e140085c7c81d0b65180.zip
cpython-5d64421c23d2f2a3c434e140085c7c81d0b65180.tar.gz
cpython-5d64421c23d2f2a3c434e140085c7c81d0b65180.tar.bz2
Fix a couple of places where the descriptions of *_GET_SIZE() macros said
they were similar to *_GetSize(); should be similar to *_Size(). Error noted by William Park <parkw@better.net>.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/api.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index 83f624d..d91f29b 100644
--- a/Doc/api/api.tex
+++ b/Doc/api/api.tex
@@ -2089,7 +2089,7 @@ Returns the length of the string in string object \var{string}.
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyString_GET_SIZE}{PyObject *string}
-Macro form of \cfunction{PyString_GetSize()} but without error
+Macro form of \cfunction{PyString_Size()} but without error
checking.
\end{cfuncdesc}
@@ -3108,7 +3108,7 @@ equivalent to \samp{len(\var{list})} on a list object.
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyList_GET_SIZE}{PyObject *list}
-Macro form of \cfunction{PyList_GetSize()} without error checking.
+Macro form of \cfunction{PyList_Size()} without error checking.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyList_GetItem}{PyObject *list, int index}