]> granicus.if.org Git - python/commitdiff
sigma actually works in latex...
authorBenjamin Peterson <benjamin@python.org>
Mon, 1 Sep 2014 22:26:22 +0000 (18:26 -0400)
committerBenjamin Peterson <benjamin@python.org>
Mon, 1 Sep 2014 22:26:22 +0000 (18:26 -0400)
Doc/library/functions.rst

index bb6f9fbfc5018065efdf7f96ca2a782dbd2312c4..d3b07809fd77c3c10580de4d7613b49677a19900 100644 (file)
@@ -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])