summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfuncs.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-06 15:06:03 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-06 15:06:03 (GMT)
commit343301aaa4718a0547cc74e59e6e4b6326b5bd4f (patch)
treea9abdb7b983cacc83ff506055a6fa6616c0c92d3 /Doc/lib/libfuncs.tex
parent0b721168126f77e6a58d25c636984eb29046e1e0 (diff)
downloadcpython-343301aaa4718a0547cc74e59e6e4b6326b5bd4f.zip
cpython-343301aaa4718a0547cc74e59e6e4b6326b5bd4f.tar.gz
cpython-343301aaa4718a0547cc74e59e6e4b6326b5bd4f.tar.bz2
unichr(),
unicode(): Added \versionadded{} annotations.
Diffstat (limited to 'Doc/lib/libfuncs.tex')
-rw-r--r--Doc/lib/libfuncs.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 1aedf64..7fdb599 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -669,6 +669,7 @@ integer \var{i}, e.g., \code{unichr(97)} returns the string
\code{u'a'}. This is the inverse of \function{ord()} for Unicode
strings. The argument must be in the range [0..65535], inclusive.
\exception{ValueError} is raised otherwise.
+\versionadded{1.6}
\end{funcdesc}
\begin{funcdesc}{unicode}{string\optional{, encoding='utf-8'\optional{, errors='strict'}}}
@@ -676,6 +677,7 @@ Decodes \var{string} using the codec for \var{encoding}. Error
handling is done according to \var{errors}. The default behavior is
to decode UTF-8 in strict mode, meaning that encoding errors raise
\exception{ValueError}.
+\versionadded{1.6}
\end{funcdesc}
\begin{funcdesc}{vars}{\optional{object}}