8000 bpo-43352: Add a Barrier object to asyncio synchronized primitives (G… · python/cpython@b7bdf40 · GitHub
[go: up one dir, main page]

Skip to content

Commit b7bdf40

Browse files
committed
bpo-43352: Add a Barrier object to asyncio synchronized primitives (GH-24903)
Minor correction in example
1 parent 896e274 commit b7bdf40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/asyncio-sync.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Barrier
376376
print(b)
377377

378378
# The third .wait() call passes the barrier
379-
awaut b.wait()
379+
await b.wait()
380380
print(b)
381381
print("barrier passed")
382382

0 commit comments

Comments
 (0)
0