From: Benjamin Peterson Date: Sat, 11 Jul 2015 23:32:55 +0000 (-0700) Subject: fix normalization example (closes #24610) X-Git-Tag: v3.5.0b4~55^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=acb3a4d88bdee64096ed4f00c9d464b6b4513658;p=thirdparty%2FPython%2Fcpython.git fix normalization example (closes #24610) Patch by Chris Angelico --- diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index dd3cb9e6ba3f..71684b728d7f 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1381,7 +1381,7 @@ precedence and have a left-to-right chaining feature as described in the .. [#] 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`.