]> granicus.if.org Git - python/commitdiff
Issue #26525: Change ord example from nu to more easily recognized Euro sign.
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 21 Mar 2016 01:18:40 +0000 (21:18 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Mon, 21 Mar 2016 01:18:40 +0000 (21:18 -0400)
Doc/library/functions.rst

index ef4176abbd3e325d23a92bb36a24168b943f6777..0491a3ba21d219c2c58e6b63b83b39870a9a177f 100644 (file)
@@ -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])