From: Amaury Forgeot d'Arc Date: Wed, 10 Jun 2009 20:30:19 +0000 (+0000) Subject: Fix a typo spotted by Nick Coghlan. X-Git-Tag: v2.7a1~986 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d81333c5409ed8eb1e5895949fb6f75e9a300e37;p=python Fix a typo spotted by Nick Coghlan. --- diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index 6352fc58c8..9a3b3e67ac 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`) and C extension + affects new-style classes (derived from :class:`object`) and C extension types. (:issue:`6101`.) .. ======================================================================