Commit aa126e1e authored by Fred Drake's avatar Fred Drake

Corrected a number of typos reported by Gilles Civario

<gcivario@users.sourceforge.net>.

This closes bug #122562.
parent d99e534d
...@@ -735,7 +735,7 @@ storage. The caller is responsible for calling ...@@ -735,7 +735,7 @@ storage. The caller is responsible for calling
object) {[const char *encoding, char **buffer, int *buffer_length]}] object) {[const char *encoding, char **buffer, int *buffer_length]}]
This variant on \samp{s\#} is used for encoding Unicode and objects This variant on \samp{s\#} is used for encoding Unicode and objects
convertible to Unicode into a character buffer. It reads one C 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 an encoding name string (\var{encoding}), the second a pointer to a
pointer to a character buffer (\var{**buffer}, the buffer used for pointer to a character buffer (\var{**buffer}, the buffer used for
storing the encoded data) and the third one a pointer to an integer 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 ...@@ -886,8 +886,8 @@ as the function name in error messages (the ``associated value'' of
the exception that \cfunction{PyArg_ParseTuple()} raises). the exception that \cfunction{PyArg_ParseTuple()} raises).
\item[\samp{;}] \item[\samp{;}]
The list of format units ends here; the string after the colon is used The list of format units ends here; the string after the semicolon is
as the error message \emph{instead} of the default error message. used as the error message \emph{instead} of the default error message.
Clearly, \samp{:} and \samp{;} mutually exclude each other. Clearly, \samp{:} and \samp{;} mutually exclude each other.
\end{description} \end{description}
...@@ -1101,15 +1101,6 @@ Convert a Unicode (UCS-2) data buffer and its length to a Python ...@@ -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 Unicode object. If the Unicode buffer pointer is \NULL, the length
is ignored and \code{None} is returned. 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]}] \item[\samp{i} (integer) {[int]}]
Convert a plain C \ctype{int} to a Python integer object. Convert a plain C \ctype{int} to a Python integer object.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment