(self)
Reset the internal flag to false.

        Subsequently, threads calling wait() will block until set() is called to
        set the internal flag to true again.
Reset the internal flag to false.
Reset the internal flag to false .
def clear(self):
        """Reset the internal flag to false.

        Subsequently, threads calling wait() will block until set() is called to
        set the internal flag to true again.

        """
        with self._cond:
            self._flag = False
def clear ( self ) : with self . _cond : self . _flag = False