mirror of https://github.com/python/cpython.git
Issue #26525: Change chr example to match change in ord example.
This commit is contained in:
parent
3a56b775da
commit
01a9a958b6
|
@ -158,7 +158,7 @@ are always available. They are listed here in alphabetical order.
|
|||
|
||||
Return the string representing a character whose Unicode code point is the
|
||||
integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while
|
||||
``chr(957)`` returns the string ``'ν'``. This is the inverse of :func:`ord`.
|
||||
``chr(8364)`` returns the string ``'€'``. This is the inverse of :func:`ord`.
|
||||
|
||||
The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in
|
||||
base 16). :exc:`ValueError` will be raised if *i* is outside that range.
|
||||
|
|
Loading…
Reference in New Issue