R. David Murray <rdmur...@bitdance.com> added the comment: On Wed, 07 Dec 2011 18:45:27 +0000, <rep...@bugs.python.org> wrote: > _______________________________________ > diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst > --- a/Doc/library/threading.rst > +++ b/Doc/library/threading.rst > @@ -804,8 +804,9 @@ > floating point number specifying a timeout for the operation in seconds > (or fractions thereof). > > - This method returns the internal flag on exit, so it will always return > - ``True`` except if a timeout is given and the operation times out. > + This method returns true if and only if the internal flag has been set > to > + true by another thread, so it will always return ``True`` except if a > + timeout is given and the operation times out.
This seems to imply that if the current thread previously set the event, the wait will return False, which is contradicted by the 'so' statement (which appears to be correct). --David ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13502> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com