PEP 525: Fix comment in code example (#4110)
This commit is contained in:
parent
1d10fc5c89
commit
5c7b771511
|
@ -339,7 +339,7 @@ The following methods and properties are defined:
|
|||
|
||||
v = await g.athrow(ZeroDivisionError)
|
||||
print(v) # Will print 'world' after
|
||||
$ sleeping 0.2 seconds.
|
||||
# sleeping 0.2 seconds.
|
||||
|
||||
5. ``agen.aclose()``: Returns an *awaitable*, that throws a
|
||||
``GeneratorExit`` exception into the generator. The *awaitable* can
|
||||
|
|
Loading…
Reference in New Issue