]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added a note about Event.is_set() syntax being new to 2.6
authorFacundo Batista <facundobatista@gmail.com>
Mon, 25 Jan 2010 06:15:01 +0000 (06:15 +0000)
committerFacundo Batista <facundobatista@gmail.com>
Mon, 25 Jan 2010 06:15:01 +0000 (06:15 +0000)
Doc/library/threading.rst

index 1440215394b6f053aca51c6faad4ea92b60f71ef..4627ca6d6116215adfc909d2746b91b4e3c0c968 100644 (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.
 
+      .. 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