Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 063d48d

Browse files
committed
Issue #26525: Change ord example from nu to more easily recognized Euro sign.
1 parent 4902c46 commit 063d48d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,8 +1079,8 @@ are always available. They are listed here in alphabetical order.
10791079

10801080
Given a string representing one Unicode character, return an integer
10811081
representing the Unicode code point of that character. For example,
1082-
``ord('a')`` returns the integer ``97`` and ``ord('ν')`` returns ``957``.
1083-
This is the inverse of :func:`chr`.
1082+
``ord('a')`` returns the integer ``97`` and ``ord('')`` (Euro sign)
1083+
returns ``8364``. This is the inverse of :func:`chr`.
10841084

10851085

10861086
.. function:: pow(x, y[, z])

0 commit comments

Comments
 (0)