We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cd8571 commit a30382bCopy full SHA for a30382b
Doc/library/threading.rst
@@ -992,9 +992,8 @@ method. The :meth:`~Event.wait` method blocks until the flag is true.
992
(or fractions thereof).
993
994
This method returns ``True`` if and only if the internal flag has been set to
995
- true, either before the wait call or after the wait starts, so it will
996
- always return ``True`` except if a timeout is given and the operation
997
- times out. If such a timeout occurs, ``False`` will be returned.
+ true, either before the wait call or after the wait starts.
+ If a timeout is given and the operation times out, ``False`` will be returned.
998
999
.. versionchanged:: 3.1
1000
Previously, the method always returned ``None``.
0 commit comments