[Python-checkins] r59297 - python/trunk/Doc/whatsnew/2.6.rst

facundo.batista python-checkins at python.org
Mon Dec 3 20:49:55 CET 2007


Author: facundo.batista
Date: Mon Dec  3 20:49:54 2007
New Revision: 59297

Modified:
   python/trunk/Doc/whatsnew/2.6.rst
Log:

Two small fixes. Issue 1547.


Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst	(original)
+++ python/trunk/Doc/whatsnew/2.6.rst	Mon Dec  3 20:49:54 2007
@@ -108,7 +108,7 @@
 
 The previous version, Python 2.5, added the ':keyword:`with`'
 statement an optional feature, to be enabled by a ``from __future__
-import generators`` directive.  In 2.6 the statement no longer need to
+import with_statement`` directive.  In 2.6 the statement no longer need to
 be specially enabled; this means that :keyword:`with` is now always a
 keyword.  The rest of this section is a copy of the corresponding 
 section from "What's New in Python 2.5" document; if you read
@@ -481,7 +481,7 @@
   of strings containing the names of valid attributes for the object,
   and lets the object control the value that :func:`dir` produces.
   Objects that have :meth:`__getattr__` or :meth:`__getattribute__` 
-  methods.
+  methods can use this to advertise pseudo-attributes they will honor.
 
   .. % Patch 1591665
 


More information about the Python-checkins mailing list