mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Update version numbering from 1.6 to 2.0.
This commit is contained in:
parent
61b49b3d6b
commit
30f76ffd00
11 changed files with 16 additions and 16 deletions
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue