From: Benjamin Peterson Date: Sun, 4 May 2008 03:05:49 +0000 (+0000) Subject: Fix typo in whatsnew X-Git-Tag: v2.6a3~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83343309514d20faf1744cc70fe1ec3bdc847504;p=thirdparty%2FPython%2Fcpython.git Fix typo in whatsnew --- diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 8a3a9d27879c..80a6c3e9664f 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -734,7 +734,8 @@ and it also supports the ``b''`` notation. There's also a ``__future__`` import that causes all string literals to become Unicode strings. This means that ``\u`` escape sequences -can be used to include Unicode characters. +can be used to include Unicode characters:: + from __future__ import unicode_literals @@ -744,6 +745,7 @@ can be used to include Unicode characters. print len(s) # 12 Unicode characters + .. seealso:: :pep:`3112` - Bytes literals in Python 3000