mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Added a note about Event.is_set() syntax being new to 2.6
This commit is contained in:
parent
28e369a8f8
commit
47b66590f6
1 changed files with 3 additions and 0 deletions
|
|
@ -667,6 +667,9 @@ An event object manages an internal flag that can be set to true with the
|
|||
|
||||
Return true if and only if the internal flag is true.
|
||||
|
||||
.. versionchanged:: 2.6
|
||||
The ``is_set()`` syntax is new.
|
||||
|
||||
.. method:: set()
|
||||
|
||||
Set the internal flag to true. All threads waiting for it to become true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue