Incredibly minor clarification.
This commit is contained in:
parent
235d1d29e2
commit
9893f796ea
|
@ -13,11 +13,12 @@ Introduction
|
|||
|
||||
After a lot of discussion about PEP 340 and alternatives, I
|
||||
decided to withdraw PEP 340 and proposed a slight variant on PEP
|
||||
310. After more discussion, I have added back a mechanism
|
||||
for raising an exception in a suspended generator using a throw()
|
||||
310. After more discussion, I have added back a mechanism for
|
||||
raising an exception in a suspended generator using a throw()
|
||||
method, and a close() method which throws a new GeneratorExit
|
||||
exception; these additions were first proposed in [2] and
|
||||
universally approved of. I'm also changing the keyword to 'with'.
|
||||
exception; these additions were first proposed on python-dev in
|
||||
[2] and universally approved of. I'm also changing the keyword to
|
||||
'with'.
|
||||
|
||||
If this PEP is approved, the following PEPs will be rejected due
|
||||
to overlap:
|
||||
|
|
Loading…
Reference in New Issue