summaryrefslogtreecommitdiffstats
path: root/Doc/library/threading.rst
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2010-01-25 06:15:01 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2010-01-25 06:15:01 (GMT)
commit47b66590f6299bb869122c6fef2c6490ace8b0f5 (patch)
tree5b22b8f1593753714c888fa6668681554252130e /Doc/library/threading.rst
parent28e369a8f8a5fe416159a2a5604321574ea148b3 (diff)
downloadcpython-47b66590f6299bb869122c6fef2c6490ace8b0f5.zip
cpython-47b66590f6299bb869122c6fef2c6490ace8b0f5.tar.gz
cpython-47b66590f6299bb869122c6fef2c6490ace8b0f5.tar.bz2
Added a note about Event.is_set() syntax being new to 2.6
Diffstat (limited to 'Doc/library/threading.rst')
-rw-r--r--Doc/library/threading.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 1440215..4627ca6 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -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