summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2001-11-12 07:46:31 (GMT)
committerThomas Heller <theller@ctypes.org>2001-11-12 07:46:31 (GMT)
commitbfeeeee85175b71a6946505db6a5f128468f54fd (patch)
treedd9d14d36c12c5f2d1ca6ee5e9b8f02fa6ff3c51 /Doc/api
parent43f2dc6251e4c672e02ea0d62b2a8243408041ca (diff)
downloadcpython-bfeeeee85175b71a6946505db6a5f128468f54fd.zip
cpython-bfeeeee85175b71a6946505db6a5f128468f54fd.tar.gz
cpython-bfeeeee85175b71a6946505db6a5f128468f54fd.tar.bz2
Fix obvious typos.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/abstract.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex
index 166884b..8f1ce93 100644
--- a/Doc/api/abstract.tex
+++ b/Doc/api/abstract.tex
@@ -876,7 +876,7 @@ else {
Returns a pointer to a read-only memory location useable as character-
based input. The \var{obj} argument must support the single-segment
character buffer interface. On success, returns \code{1}, sets
- \var{buffer} to the memory location and \var{buffer} to the buffer
+ \var{buffer} to the memory location and \var{buffer_len} to the buffer
length. Returns \code{0} and sets a \exception{TypeError} on error.
\versionadded{1.6}
\end{cfuncdesc}
@@ -887,7 +887,7 @@ else {
Returns a pointer to a read-only memory location containing
arbitrary data. The \var{obj} argument must support the
single-segment readable buffer interface. On success, returns
- \code{1}, sets \var{buffer} to the memory location and \var{buffer}
+ \code{1}, sets \var{buffer} to the memory location and \var{buffer_len}
to the buffer length. Returns \code{0} and sets a
\exception{TypeError} on error.
\versionadded{1.6}
@@ -905,7 +905,7 @@ else {
Returns a pointer to a writeable memory location. The \var{obj}
argument must support the single-segment, character buffer
interface. On success, returns \code{1}, sets \var{buffer} to the
- memory location and \var{buffer} to the buffer length. Returns
+ memory location and \var{buffer_len} to the buffer length. Returns
\code{0} and sets a \exception{TypeError} on error.
\versionadded{1.6}
\end{cfuncdesc}