[Python-checkins] r66866 - python/trunk/Doc/reference/simple_stmts.rst

benjamin.peterson python-checkins at python.org
Thu Oct 9 22:54:43 CEST 2008


Author: benjamin.peterson
Date: Thu Oct  9 22:54:43 2008
New Revision: 66866

Log:
update paragraph about __future__ for 2.6

Modified:
   python/trunk/Doc/reference/simple_stmts.rst

Modified: python/trunk/Doc/reference/simple_stmts.rst
==============================================================================
--- python/trunk/Doc/reference/simple_stmts.rst	(original)
+++ python/trunk/Doc/reference/simple_stmts.rst	Thu Oct  9 22:54:43 2008
@@ -788,10 +788,11 @@
 * 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


More information about the Python-checkins mailing list