mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Issue #26525: Change ord example from nu to more easily recognized Euro sign.
This commit is contained in:
parent
4902c46bff
commit
063d48d9c0
1 changed files with 2 additions and 2 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue