fix PEP 533 typo (#1593)
This commit is contained in:
parent
b71941a239
commit
19cc2c0d9a
|
@ -160,7 +160,7 @@ descriptors. (After all, if they weren't doing I/O, they'd be
|
||||||
generators, not async generators.) So we have to do something, and it
|
generators, not async generators.) So we have to do something, and it
|
||||||
might as well be a comprehensive fix to the underlying problem. And
|
might as well be a comprehensive fix to the underlying problem. And
|
||||||
it's much easier to fix this now when async generators are first
|
it's much easier to fix this now when async generators are first
|
||||||
rolling out, then it will be to fix it later.
|
rolling out, than it will be to fix it later.
|
||||||
|
|
||||||
The proposal itself is simple in concept: add a ``__(a)iterclose__``
|
The proposal itself is simple in concept: add a ``__(a)iterclose__``
|
||||||
method to the iterator protocol, and have (async) ``for`` loops call
|
method to the iterator protocol, and have (async) ``for`` loops call
|
||||||
|
|
Loading…
Reference in New Issue