]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
update paragraph about __future__ for 2.6
authorBenjamin Peterson <benjamin@python.org>
Thu, 9 Oct 2008 20:54:43 +0000 (20:54 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 9 Oct 2008 20:54:43 +0000 (20:54 +0000)
Doc/reference/simple_stmts.rst

index f8df0134a9942b110eeb6cb7ceec9dde343efe57..183b776e3692318adac670e8baed51ea881ed491 100644 (file)
@@ -788,10 +788,11 @@ can appear before a future statement are:
 * blank lines, and
 * other future statements.
 
-The features recognized by Python 2.5 are ``absolute_import``, ``division``,
-``generators``, ``nested_scopes`` and ``with_statement``.  ``generators`` and
-``nested_scopes``  are redundant in Python version 2.3 and above because they
-are always enabled.
+The features recognized by Python 2.6 are ``unicode_literals``,
+``print_function``, ``absolute_import``, ``division``, ``generators``,
+``nested_scopes`` and ``with_statement``.  ``generators``, ``with_statement``,
+``nested_scopes`` are redundant in Python version 2.6 and above because they are
+always enabled.
 
 A future statement is recognized and treated specially at compile time: Changes
 to the semantics of core constructs are often implemented by generating