https://github.com/python/cpython/commit/ea8a85bb9eb54b9edee1a815cff797310ec13f13
commit: ea8a85bb9eb54b9edee1a815cff797310ec13f13
branch: 3.12
author: Bénédikt Tran <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-11-30T10:02:07Z
summary:
[3.12] Link to correct class methods in asyncio primitives docs (GH-127270)
(#127438)
files:
M Doc/library/asyncio-sync.rst
diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst
index 05bdf5488af143..4caa8b9b47564a 100644
--- a/Doc/library/asyncio-sync.rst
+++ b/Doc/library/asyncio-sync.rst
@@ -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
@@ -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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]