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

Skip to content

Commit 01a9a95

Browse files
committed
Issue #26525: Change chr example to match change in ord example.
1 parent 3a56b77 commit 01a9a95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ are always available. They are listed here in alphabetical order.
158158

159159
Return the string representing a character whose Unicode code point is the
160160
integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while
161-
``chr(957)`` returns the string ``'ν'``. This is the inverse of :func:`ord`.
161+
``chr(8364)`` returns the string ``''``. This is the inverse of :func:`ord`.
162162

163163
The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in
164164
base 16). :exc:`ValueError` will be raised if *i* is outside that range.

0 commit comments

Comments
 (0)