mirror of https://github.com/python/cpython.git
asyncio.Barrier docs: Fix typo (GH-93371)
taks -> tasks
(cherry picked from commit 8584981a58
)
Co-authored-by: Omer Katz <omer.katz@omerkatz.com>
This commit is contained in:
parent
20be4a11fe
commit
e8404f46b3
|
@ -429,7 +429,7 @@ Barrier
|
||||||
|
|
||||||
Put the barrier into a broken state. This causes any active or future
|
Put the barrier into a broken state. This causes any active or future
|
||||||
calls to :meth:`wait` to fail with the :class:`BrokenBarrierError`.
|
calls to :meth:`wait` to fail with the :class:`BrokenBarrierError`.
|
||||||
Use this for example if one of the taks needs to abort, to avoid infinite
|
Use this for example if one of the tasks needs to abort, to avoid infinite
|
||||||
waiting tasks.
|
waiting tasks.
|
||||||
|
|
||||||
.. attribute:: parties
|
.. attribute:: parties
|
||||||
|
|
Loading…
Reference in New Issue