summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-06-09 23:18:50 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-06-09 23:18:50 (GMT)
commitd708c8703e7fc6101f90f65f6c57b5c6c4b0bb59 (patch)
tree7522593302937367a3eb20cfc491fe98e096f4e1
parent901f200c81599116e3dc6ffe32b66509bcaf17ce (diff)
downloadcpython-d708c8703e7fc6101f90f65f6c57b5c6c4b0bb59.zip
cpython-d708c8703e7fc6101f90f65f6c57b5c6c4b0bb59.tar.gz
cpython-d708c8703e7fc6101f90f65f6c57b5c6c4b0bb59.tar.bz2
Both kind of types are concerned.
-rw-r--r--Doc/whatsnew/2.7.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index 01dcc9f..6352fc5 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`.)
.. ======================================================================