Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] Link to correct class methods in asyncio primitives docs (GH-127270) #127438

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Doc/library/asyncio-sync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,9 @@ Condition
Wait until a predicate becomes *true*.

The predicate must be a callable which result will be
interpreted as a boolean value. The final value is the
return value.
interpreted as a boolean value. The method will repeatedly
:meth:`~Condition.wait` until the predicate evaluates to *true*.
The final value is the return value.


Semaphore
Expand Down Expand Up @@ -428,7 +429,7 @@ Barrier
.. coroutinemethod:: abort()

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:`~Barrier.wait` to fail with the :class:`BrokenBarrierError`.
Use this for example if one of the tasks needs to abort, to avoid infinite
waiting tasks.

Expand Down
Loading