]> granicus.if.org Git - python/commitdiff
a more universal unicode char example
authorBenjamin Peterson <benjamin@python.org>
Mon, 1 Sep 2014 21:59:18 +0000 (17:59 -0400)
committerBenjamin Peterson <benjamin@python.org>
Mon, 1 Sep 2014 21:59:18 +0000 (17:59 -0400)
Doc/library/functions.rst

index 45f9cf500ecb1c2144f1b0c305858fe5338df2f2..40e7b6e9adc348e6274bf6b46c779b3094fa60c3 100644 (file)
@@ -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.