[Python-checkins] cpython (3.4): fix normalization example (closes #24610)
benjamin.peterson
python-checkins at python.org
Sun Jul 12 01:33:56 CEST 2015
https://hg.python.org/cpython/rev/1cae77f873af
changeset: 96901:1cae77f873af
branch: 3.4
parent: 96898:9e035639516c
user: Benjamin Peterson <benjamin at python.org>
date: Sat Jul 11 16:32:55 2015 -0700
summary:
fix normalization example (closes #24610)
Patch by Chris Angelico
files:
Doc/reference/expressions.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1381,7 +1381,7 @@
.. [#] While comparisons between strings make sense at the byte level, they may
be counter-intuitive to users. For example, the strings ``"\u00C7"`` and
- ``"\u0327\u0043"`` compare differently, even though they both represent the
+ ``"\u0043\u0327"`` compare differently, even though they both represent the
same unicode character (LATIN CAPITAL LETTER C WITH CEDILLA). To compare
strings in a human recognizable way, compare using
:func:`unicodedata.normalize`.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list