]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a couple of places where the descriptions of *_GET_SIZE() macros said
authorFred Drake <fdrake@acm.org>
Sat, 7 Oct 2000 12:31:50 +0000 (12:31 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 7 Oct 2000 12:31:50 +0000 (12:31 +0000)
they were similar to *_GetSize(); should be similar to *_Size().

Error noted by William Park <parkw@better.net>.

Doc/api/api.tex

index 83f624dfd31ed0ba5a0ce322ec04c2cbc7dcb33f..d91f29b8fb02ca1565b778e9ac4df9a22ead445f 100644 (file)
@@ -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}