summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-09-01 22:26:22 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-09-01 22:26:22 (GMT)
commit7809569a2ea1a9d330ad7a5949bc43f835c1a276 (patch)
tree4a9f833902d12277bb7afd28a0fded7fe5e8598a /Doc/library/functions.rst
parent7df46aaf32c7c4ac6aaadd6698371c4feac33529 (diff)
downloadcpython-7809569a2ea1a9d330ad7a5949bc43f835c1a276.zip
cpython-7809569a2ea1a9d330ad7a5949bc43f835c1a276.tar.gz
cpython-7809569a2ea1a9d330ad7a5949bc43f835c1a276.tar.bz2
sigma actually works in latex...
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index bb6f9fb..d3b0780 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -158,7 +158,7 @@ are always available. They are listed here in alphabetical order.
Return the string representing a character whose Unicode codepoint is the
integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while
- ``chr(9835)`` returns the string ``'♫'``. This is the inverse of :func:`ord`.
+ ``chr(931)`` returns the string ``'Σ'``. This is the inverse of :func:`ord`.
The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in
base 16). :exc:`ValueError` will be raised if *i* is outside that range.
@@ -1061,8 +1061,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
- ``12491``. This is the inverse of :func:`chr`.
+ ``ord('a')`` returns the integer ``97`` and ``ord('Σ')`` returns ``931``.
+ This is the inverse of :func:`chr`.
.. function:: pow(x, y[, z])