From 5fb161f170b9c4380de10dce19d2fdaa95d4cb63 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 1 Sep 2014 17:59:18 -0400 Subject: [PATCH] a more universal unicode char example --- Doc/library/functions.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 45f9cf500e..40e7b6e9ad 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. -- 2.50.1