diff options
author | Fred Drake <fdrake@acm.org> | 2000-11-17 18:20:33 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-11-17 18:20:33 (GMT) |
commit | aa126e1e21e837678310c456a0f656276106ec03 (patch) | |
tree | 553fce9d87235dcbbb40ee005d6bad108c845401 /Doc/ext | |
parent | d99e534de6ecca7e65d293626539499515818a0b (diff) | |
download | cpython-aa126e1e21e837678310c456a0f656276106ec03.zip cpython-aa126e1e21e837678310c456a0f656276106ec03.tar.gz cpython-aa126e1e21e837678310c456a0f656276106ec03.tar.bz2 |
Corrected a number of typos reported by Gilles Civario
<gcivario@users.sourceforge.net>.
This closes bug #122562.
Diffstat (limited to 'Doc/ext')
-rw-r--r-- | Doc/ext/ext.tex | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex index 1f80a37..3f9eb96 100644 --- a/Doc/ext/ext.tex +++ b/Doc/ext/ext.tex @@ -735,7 +735,7 @@ storage. The caller is responsible for calling object) {[const char *encoding, char **buffer, int *buffer_length]}] This variant on \samp{s\#} is used for encoding Unicode and objects convertible to Unicode into a character buffer. It reads one C -variable and stores into two C variables, the first one a pointer to +variable and stores into three C variables, the first one a pointer to an encoding name string (\var{encoding}), the second a pointer to a pointer to a character buffer (\var{**buffer}, the buffer used for storing the encoded data) and the third one a pointer to an integer @@ -886,8 +886,8 @@ as the function name in error messages (the ``associated value'' of the exception that \cfunction{PyArg_ParseTuple()} raises). \item[\samp{;}] -The list of format units ends here; the string after the colon is used -as the error message \emph{instead} of the default error message. +The list of format units ends here; the string after the semicolon is +used as the error message \emph{instead} of the default error message. Clearly, \samp{:} and \samp{;} mutually exclude each other. \end{description} @@ -1101,15 +1101,6 @@ Convert a Unicode (UCS-2) data buffer and its length to a Python Unicode object. If the Unicode buffer pointer is \NULL, the length is ignored and \code{None} is returned. -\item[\samp{u} (Unicode string) {[Py_UNICODE *]}] -Convert a null-terminated buffer of Unicode (UCS-2) data to a Python Unicode -object. If the Unicode buffer pointer is \NULL{}, \code{None} is returned. - -\item[\samp{u\#} (Unicode string) {[Py_UNICODE *, int]}] -Convert a Unicode (UCS-2) data buffer and its length to a Python Unicode -object. If the Unicode buffer pointer is \NULL{}, the length is ignored and -\code{None} is returned. - \item[\samp{i} (integer) {[int]}] Convert a plain C \ctype{int} to a Python integer object. |