File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -663,16 +663,16 @@ \section{Extracting Parameters in Extension Functions
663663
664664\item [\samp {u} (Unicode object) {[Py_UNICODE *]}]
665665Convert a Python Unicode object to a C pointer to a null-terminated
666- buffer of 16-bit Unicode (UTF-16) data. As with \samp {s}, there is no need
667- to provide storage for the Unicode data buffer; a pointer to the
668- existing Unicode data is stored into the Py_UNICODE pointer variable whose
669- address you pass.
666+ buffer of 16-bit Unicode (UTF-16) data. As with \samp {s}, there is no
667+ need to provide storage for the Unicode data buffer; a pointer to the
668+ existing Unicode data is stored into the \ctype { Py_UNICODE} pointer
669+ variable whose address you pass.
670670
671671\item [\samp {u\# } (Unicode object) {[Py_UNICODE *, int]}]
672672This variant on \samp {u} stores into two C variables, the first one
673673a pointer to a Unicode data buffer, the second one its length.
674674Non-Unicode objects are handled by interpreting their read buffer
675- pointer as pointer to a Py_UNICODE array.
675+ pointer as pointer to a \ctype { Py_UNICODE} array.
676676
677677\item [\samp {es} (string, Unicode object or character buffer compatible
678678object) {[const char *encoding, char **buffer]}]
You can’t perform that action at this time.
0 commit comments