]> granicus.if.org Git - python/commitdiff
Fix a typo spotted by Nick Coghlan.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 10 Jun 2009 20:30:19 +0000 (20:30 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 10 Jun 2009 20:30:19 +0000 (20:30 +0000)
Doc/whatsnew/2.7.rst

index 6352fc58c84b6877e13cb62caa4f580390a439d8..9a3b3e67acc49b52688de321a30b0561ab7e4afe 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`) and C extension
+  affects new-style classes (derived from :class:`object`) and C extension
   types.  (:issue:`6101`.)
 
 .. ======================================================================