Skip to content

Commit ea8a85b

Browse files
authored
[3.12] Link to correct class methods in asyncio primitives docs (GH-127270) (#127438)
1 parent 7c7ed49 commit ea8a85b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/library/asyncio-sync.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,9 @@ Condition
262262
Wait until a predicate becomes *true*.
263263

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

268269

269270
Semaphore
@@ -428,7 +429,7 @@ Barrier
428429
.. coroutinemethod:: abort()
429430

430431
Put the barrier into a broken state. This causes any active or future
431-
calls to :meth:`wait` to fail with the :class:`BrokenBarrierError`.
432+
calls to :meth:`~Barrier.wait` to fail with the :class:`BrokenBarrierError`.
432433
Use this for example if one of the tasks needs to abort, to avoid infinite
433434
waiting tasks.
434435

0 commit comments

Comments
 (0)