From: Amaury Forgeot d'Arc Date: Tue, 9 Jun 2009 23:18:50 +0000 (+0000) Subject: Both kind of types are concerned. X-Git-Tag: v2.7a1~992 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d708c8703e7fc6101f90f65f6c57b5c6c4b0bb59;p=thirdparty%2FPython%2Fcpython.git Both kind of types are concerned. --- diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index 01dcc9f3cc5a..6352fc58c84b 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -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`.) .. ======================================================================