summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-11 17:09:23 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-11 17:09:23 (GMT)
commit4e15945fffb829fcd8afe32f2cc6cc9dd6576e46 (patch)
treef4868acdc4d2307359992a16d3127b17f4d2a01a /Doc
parent7d45d34ed7b3adb09289e7d2e28c5ccbfbedaad7 (diff)
downloadcpython-4e15945fffb829fcd8afe32f2cc6cc9dd6576e46.zip
cpython-4e15945fffb829fcd8afe32f2cc6cc9dd6576e46.tar.gz
cpython-4e15945fffb829fcd8afe32f2cc6cc9dd6576e46.tar.bz2
Markup errors: \cfuntion -> \cfunction
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ext/ext.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex
index 12100cc..2aef7e8 100644
--- a/Doc/ext/ext.tex
+++ b/Doc/ext/ext.tex
@@ -731,7 +731,7 @@ pointer to an integer (\var{*buffer_length}, the buffer length).
The encoding name must map to a registered codec. If set to \NULL{},
the default encoding is used.
-\cfuntion{PyArg_ParseTuple()} will allocate a buffer of the needed
+\cfunction{PyArg_ParseTuple()} will allocate a buffer of the needed
size using \cfunction{PyMem_NEW()}, copy the encoded data into this
buffer and adjust \var{*buffer} to reference the newly allocated
storage. The caller is responsible for calling
@@ -753,14 +753,14 @@ the default encoding is used.
There are two modes of operation:
If \var{*buffer} points a \NULL{} pointer,
-\cfuntion{PyArg_ParseTuple()} will allocate a buffer of the needed
+\cfunction{PyArg_ParseTuple()} will allocate a buffer of the needed
size using \cfunction{PyMem_NEW()}, copy the encoded data into this
buffer and adjust \var{*buffer} to reference the newly allocated
storage. The caller is responsible for calling
\cfunction{PyMem_Free()} to free the allocated buffer after usage.
If \var{*buffer} points to a non-\NULL{} pointer (an already allocated
-buffer), \cfuntion{PyArg_ParseTuple()} will use this location as
+buffer), \cfunction{PyArg_ParseTuple()} will use this location as
buffer and interpret \var{*buffer_length} as buffer size. It will then
copy the encoded data into the buffer and 0-terminate it. Buffer
overflow is signalled with an exception.