Added a note about Event.is_set() syntax being new to 2.6

This commit is contained in:
Facundo Batista 2010-01-25 06:15:01 +00:00
parent 28e369a8f8
commit 47b66590f6
1 changed files with 3 additions and 0 deletions

View File

@ -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. Return true if and only if the internal flag is true.
.. versionchanged:: 2.6
The ``is_set()`` syntax is new.
.. method:: set() .. method:: set()
Set the internal flag to true. All threads waiting for it to become true Set the internal flag to true. All threads waiting for it to become true