[Python-checkins] cpython: sigma actually works in latex...
benjamin.peterson
python-checkins at python.org
Tue Sep 2 00:26:40 CEST 2014
http://hg.python.org/cpython/rev/3dafa5f1dc04
changeset: 92300:3dafa5f1dc04
user: Benjamin Peterson <benjamin at python.org>
date: Mon Sep 01 18:26:22 2014 -0400
summary:
sigma actually works in latex...
files:
Doc/library/functions.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -158,7 +158,7 @@
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 @@
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])
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list