mirror of
https://github.com/python/cpython.git
synced 2025-11-09 06:01:05 +00:00
Mark a couple of types that had not been marked.
This commit is contained in:
parent
0f9a34da2c
commit
b1af6376e9
1 changed files with 5 additions and 5 deletions
|
|
@ -663,16 +663,16 @@ This is to \samp{s\#} as \samp{z} is to \samp{s}.
|
||||||
|
|
||||||
\item[\samp{u} (Unicode object) {[Py_UNICODE *]}]
|
\item[\samp{u} (Unicode object) {[Py_UNICODE *]}]
|
||||||
Convert a Python Unicode object to a C pointer to a null-terminated
|
Convert a Python Unicode object to a C pointer to a null-terminated
|
||||||
buffer of 16-bit Unicode (UTF-16) data. As with \samp{s}, there is no need
|
buffer of 16-bit Unicode (UTF-16) data. As with \samp{s}, there is no
|
||||||
to provide storage for the Unicode data buffer; a pointer to the
|
need to provide storage for the Unicode data buffer; a pointer to the
|
||||||
existing Unicode data is stored into the Py_UNICODE pointer variable whose
|
existing Unicode data is stored into the \ctype{Py_UNICODE} pointer
|
||||||
address you pass.
|
variable whose address you pass.
|
||||||
|
|
||||||
\item[\samp{u\#} (Unicode object) {[Py_UNICODE *, int]}]
|
\item[\samp{u\#} (Unicode object) {[Py_UNICODE *, int]}]
|
||||||
This variant on \samp{u} stores into two C variables, the first one
|
This variant on \samp{u} stores into two C variables, the first one
|
||||||
a pointer to a Unicode data buffer, the second one its length.
|
a pointer to a Unicode data buffer, the second one its length.
|
||||||
Non-Unicode objects are handled by interpreting their read buffer
|
Non-Unicode objects are handled by interpreting their read buffer
|
||||||
pointer as pointer to a Py_UNICODE array.
|
pointer as pointer to a \ctype{Py_UNICODE} array.
|
||||||
|
|
||||||
\item[\samp{es} (string, Unicode object or character buffer compatible
|
\item[\samp{es} (string, Unicode object or character buffer compatible
|
||||||
object) {[const char *encoding, char **buffer]}]
|
object) {[const char *encoding, char **buffer]}]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue