diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index b44ed9928e7..ced37451747 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -916,7 +916,7 @@ are always available. They are listed here in alphabetical order. .. XXX works for bytes too, but should it? .. function:: ord(c) - Given a string representing one Uncicode character, return an integer + 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('\u2020')`` returns ``8224``. This is the inverse of :func:`chr`.