summaryrefslogtreecommitdiffstats
path: root/Doc/api/utilities.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-03 09:55:28 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-06-03 09:55:28 (GMT)
commit9bc4f2def3729c54d7f23e3b3c9fa209a98e47a9 (patch)
tree0537df5b6656cc3ee93314e0e8e75d94f6ba20a4 /Doc/api/utilities.tex
parent4a9b8069e0e63bd010e58b118fe7d58e8256a11b (diff)
downloadcpython-9bc4f2def3729c54d7f23e3b3c9fa209a98e47a9.zip
cpython-9bc4f2def3729c54d7f23e3b3c9fa209a98e47a9.tar.gz
cpython-9bc4f2def3729c54d7f23e3b3c9fa209a98e47a9.tar.bz2
Drop claims that Unicode always means UCS-2. Fixes #881861.
Diffstat (limited to 'Doc/api/utilities.tex')
-rw-r--r--Doc/api/utilities.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/api/utilities.tex b/Doc/api/utilities.tex
index 39ca932..f4fa899 100644
--- a/Doc/api/utilities.tex
+++ b/Doc/api/utilities.tex
@@ -780,14 +780,14 @@ PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
Same as \samp{s\#}.
\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.
+ Convert a null-terminated buffer of Unicode (UCS-2 or UCS-4)
+ 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.
+ Convert a Unicode (UCS-2 or UCS-4) 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.