Skip to content

Commit

Permalink
PEP 525: Fix comment in code example (#4110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos authored Nov 6, 2024
1 parent 1d10fc5 commit 5c7b771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peps/pep-0525.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c7b771

Please sign in to comment.