8000 Link to correct class methods in asyncio primitives docs (#127270) · python/cpython@15d6506 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 15d6506

Browse files
authored
Link to correct class methods in asyncio primitives docs (#127270)
1 parent 45c5cba commit 15d6506

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/asyncio-sync.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,16 +259,16 @@ Condition
259259

260260
Note that a task *may* return from this call spuriously,
261261
which is why the caller should always re-check the state
262-
and be prepared to :meth:`wait` again. For this reason, you may
263-
prefer to use :meth:`wait_for` instead.
262+
and be prepared to :meth:`~Condition.wait` again. For this reason, you may
263+
prefer to use :meth:`~Condition.wait_for` instead.
264264

265265
.. coroutinemethod:: wait_for(predicate)
266266

267267
Wait until a predicate becomes *true*.
268268

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

274274

@@ -434,7 +434,7 @@ Barrier
434434
.. coroutinemethod:: abort()
435435

436436
Put the barrier into a broken state. This causes any active or future
437-
calls to :meth:`wait` to fail with the :class:`BrokenBarrierError`.
437+
calls to :meth:`~Barrier.wait` to fail with the :class:`BrokenBarrierError`.
438438
Use this for example if one of the tasks needs to abort, to avoid infinite
439439
waiting tasks.
440440

0 commit comments

Comments
 (0)
0