]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Both kind of types are concerned.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 9 Jun 2009 23:18:50 +0000 (23:18 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 9 Jun 2009 23:18:50 +0000 (23:18 +0000)
Doc/whatsnew/2.7.rst

index 01dcc9f3cc5abe6ad7d0eed28f83e72a932f1cf0..6352fc58c84b6877e13cb62caa4f580390a439d8 100644 (file)
@@ -672,7 +672,7 @@ that may require changes to your code:
 * 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`.)
 
 .. ======================================================================