Fix a typo spotted by Nick Coghlan.

This commit is contained in:
Amaury Forgeot d'Arc 2009-06-10 20:30:19 +00:00
parent 7ca57aa9fa
commit d81333c540
1 changed files with 1 additions and 1 deletions

View 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`.)
.. ======================================================================