From b365a06a8444c90e4c79d4bff1c58cd9dd793569 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 24 Mar 2015 12:12:44 -0400 Subject: =?UTF-8?q?change=20=CE=A3=20to=20=CE=BD=20for=20obscure=20joke=20?= =?UTF-8?q?reasons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://twitter.com/ncoghlan_dev/status/579173053793353728 --- Doc/library/functions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index eb285133a4..91c53de2ff 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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 integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while - ``chr(931)`` returns the string ``'Σ'``. This is the inverse of :func:`ord`. + ``chr(957)`` 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. @@ -1070,7 +1070,7 @@ are always available. They are listed here in alphabetical order. Given a string representing one Unicode character, return an integer representing the Unicode code point of that character. For example, - ``ord('a')`` returns the integer ``97`` and ``ord('Σ')`` returns ``931``. + ``ord('a')`` returns the integer ``97`` and ``ord('ν')`` returns ``957``. This is the inverse of :func:`chr`. -- cgit v1.2.1