FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix some asyncio.Barrier.wait docs grammar by graingert · Pull Request #93552 · python/cpython · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
4 changes: 2 additions & 2 deletions Doc/library/asyncio-sync.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ Barrier
...
async with barrier as position:
if position == 0:
# Only one task print this
print('End of *draining phasis*')
# Only one task prints this
print('End of *draining phase*')

This method may raise a :class:`BrokenBarrierError` exception if the
barrier is broken or reset while a task is waiting.
Expand Down

Back | FazBrowse Home | New Git URL