mirror of https://github.com/python/cpython
Added a note about Event.is_set() syntax being new to 2.6
This commit is contained in:
parent
28e369a8f8
commit
47b66590f6
|
@ -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…
Reference in New Issue