diff options
| author | Benjamin Peterson <benjamin@python.org> | 2014-09-01 21:59:18 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2014-09-01 21:59:18 (GMT) |
| commit | 5fb161f170b9c4380de10dce19d2fdaa95d4cb63 (patch) | |
| tree | 595a62b7ba595d5a8f7262c18fb36ff53638d59e | |
| parent | 9425c05bab36f1393efc15ee998c5f6f7c477372 (diff) | |
| download | cpython-5fb161f170b9c4380de10dce19d2fdaa95d4cb63.zip cpython-5fb161f170b9c4380de10dce19d2fdaa95d4cb63.tar.gz cpython-5fb161f170b9c4380de10dce19d2fdaa95d4cb63.tar.bz2 | |
a more universal unicode char example
| -rw-r--r-- | Doc/library/functions.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 45f9cf5..40e7b6e 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -158,8 +158,7 @@ are always available. They are listed here in alphabetical order. Return the string representing a character whose Unicode codepoint is the integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while - ``chr(12491)`` returns the string ``'ニ'``. This is the inverse of - :func:`ord`. + ``chr(9731)`` 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. |
