[Python-checkins] r73326 - python/trunk/Doc/whatsnew/2.7.rst
amaury.forgeotdarc
python-checkins at python.org
Wed Jun 10 01:18:50 CEST 2009
Author: amaury.forgeotdarc
Date: Wed Jun 10 01:18:50 2009
New Revision: 73326
Log:
Both kind of types are concerned.
Modified:
python/trunk/Doc/whatsnew/2.7.rst
Modified: python/trunk/Doc/whatsnew/2.7.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.7.rst (original)
+++ python/trunk/Doc/whatsnew/2.7.rst Wed Jun 10 01:18:50 2009
@@ -672,7 +672,7 @@
* Because of an optimization for the :keyword:`with` statement, the special
methods :meth:`__enter__` and :meth:`__exit__` must belong to the object's
type, and cannot be directly attached to the object's instance. This
- affects new-styles classes (derived from :class:`object`) or C extension
+ affects new-styles classes (derived from :class:`object`) and C extension
types. (:issue:`6101`.)
.. ======================================================================
More information about the Python-checkins
mailing list