From: Terry Jan Reedy Date: Mon, 21 Mar 2016 01:18:40 +0000 (-0400) Subject: Issue #26525: Change ord example from nu to more easily recognized Euro sign. X-Git-Tag: v3.6.0a1~422^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=063d48d9c038f508ca82b7630d2d5a600ece8d41;p=thirdparty%2FPython%2Fcpython.git Issue #26525: Change ord example from nu to more easily recognized Euro sign. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index ef4176abbd3e..0491a3ba21d2 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1079,8 +1079,8 @@ 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 ``957``. - This is the inverse of :func:`chr`. + ``ord('a')`` returns the integer ``97`` and ``ord('€')`` (Euro sign) + returns ``8364``. This is the inverse of :func:`chr`. .. function:: pow(x, y[, z])