summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-06-10 20:30:19 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-06-10 20:30:19 (GMT)
commitd81333c5409ed8eb1e5895949fb6f75e9a300e37 (patch)
treef7dcf9b8c5e7d7d54e738344a43e3db015c6234b /Doc
parent7ca57aa9fae05cb16cf7ad5b57acdf76638ee3d7 (diff)
downloadcpython-d81333c5409ed8eb1e5895949fb6f75e9a300e37.zip
cpython-d81333c5409ed8eb1e5895949fb6f75e9a300e37.tar.gz
cpython-d81333c5409ed8eb1e5895949fb6f75e9a300e37.tar.bz2
Fix a typo spotted by Nick Coghlan.
Diffstat (limited to 'Doc')
-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 6352fc5..9a3b3e6 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`.)
.. ======================================================================