Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 343301a

Browse files
committed
unichr(),
unicode(): Added \versionadded{} annotations.
1 parent 0b72116 commit 343301a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/lib/libfuncs.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,13 +669,15 @@ \section{Built-in Functions \label{built-in-funcs}}
669669
\code{u'a'}. This is the inverse of \function{ord()} for Unicode
670670
strings. The argument must be in the range [0..65535], inclusive.
671671
\exception{ValueError} is raised otherwise.
672+
\versionadded{1.6}
672673
\end{funcdesc}
673674

674675
\begin{funcdesc}{unicode}{string\optional{, encoding='utf-8'\optional{, errors='strict'}}}
675676
Decodes \var{string} using the codec for \var{encoding}. Error
676677
handling is done according to \var{errors}. The default behavior is
677678
to decode UTF-8 in strict mode, meaning that encoding errors raise
678679
\exception{ValueError}.
680+
\versionadded{1.6}
679681
\end{funcdesc}
680682

681683
\begin{funcdesc}{vars}{\optional{object}}

0 commit comments

Comments
 (0)