parameters: (self)
docstring: Reset the internal flag to false.
  
          Subsequently, threads calling wait() will block until set() is called to
          set the internal flag to true again.
docstring_summary: Reset the internal flag to false.
docstring_tokens: Reset the internal flag to false .
function: 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.
  
          """
          self.__cond.acquire()
          try:
              self.__flag = False
          finally:
              self.__cond.release()
function_tokens: def clear ( self ) : self . __cond . acquire ( ) try : self . __flag = False finally : self . __cond . release ( )