diff options
Diffstat (limited to 'Doc/lib/libfuncs.tex')
-rw-r--r-- | Doc/lib/libfuncs.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 3e6e3cb..91afe4f 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -669,7 +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} +\versionadded{2.0} \end{funcdesc} \begin{funcdesc}{unicode}{string\optional{, encoding='utf-8'\optional{, errors='strict'}}} @@ -677,7 +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} +\versionadded{2.0} \end{funcdesc} \begin{funcdesc}{vars}{\optional{object}} |