Commit 01a9a958 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #26525: Change chr example to match change in ord example.

parent 3a56b775
...@@ -158,7 +158,7 @@ are always available. They are listed here in alphabetical order. ...@@ -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 Return the string representing a character whose Unicode code point is the
integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while 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 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. base 16). :exc:`ValueError` will be raised if *i* is outside that range.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment