asyncio.Barrier docs: Fix typo (#93371)

taks -> tasks
This commit is contained in:
Omer Katz 2022-06-06 17:39:51 +03:00 committed by GitHub
parent 80a39daecd
commit 8584981a58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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