This commit is contained in:
Nick Coghlan 2009-03-15 12:48:49 +00:00
parent 0065f32940
commit dc3abfc0d3
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Abstract
========
This PEP proposes a backwards compatible mechanism that allows ``__enter__()``
methods to skip the body of the associated ``with`` statment. The lack of
methods to skip the body of the associated ``with`` statement. The lack of
this ability currently means the ``contextlib.contextmanager`` decorator
is unable to fulfil its specification of being able to turn arbitrary
code into a context manager by moving it into a generator function