From 343301aaa4718a0547cc74e59e6e4b6326b5bd4f Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 6 Apr 2000 15:06:03 +0000 Subject: [PATCH] unichr(), unicode(): Added \versionadded{} annotations. --- Doc/lib/libfuncs.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 1aedf6444c1..7fdb599be6b 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}}