summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/2.6.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-04 03:05:49 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-05-04 03:05:49 (GMT)
commit83343309514d20faf1744cc70fe1ec3bdc847504 (patch)
tree3946a7eb2064952e68b0dba0741a3e9472e367ee /Doc/whatsnew/2.6.rst
parent71f3b85497f25bad3b00555173c51378f64edbb5 (diff)
downloadcpython-83343309514d20faf1744cc70fe1ec3bdc847504.zip
cpython-83343309514d20faf1744cc70fe1ec3bdc847504.tar.gz
cpython-83343309514d20faf1744cc70fe1ec3bdc847504.tar.bz2
Fix typo in whatsnew
Diffstat (limited to 'Doc/whatsnew/2.6.rst')
-rw-r--r--Doc/whatsnew/2.6.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 8a3a9d2..80a6c3e 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