Fix typo
This commit is contained in:
parent
0065f32940
commit
dc3abfc0d3
|
@ -15,7 +15,7 @@ Abstract
|
||||||
========
|
========
|
||||||
|
|
||||||
This PEP proposes a backwards compatible mechanism that allows ``__enter__()``
|
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
|
this ability currently means the ``contextlib.contextmanager`` decorator
|
||||||
is unable to fulfil its specification of being able to turn arbitrary
|
is unable to fulfil its specification of being able to turn arbitrary
|
||||||
code into a context manager by moving it into a generator function
|
code into a context manager by moving it into a generator function
|
||||||
|
|
Loading…
Reference in New Issue