#NEWLINE# def wait( self , timeout = None ) : #NEWLINE# #INDENT# if ( timeout is None ) : #NEWLINE# #INDENT# self . _wait ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# with Timeout ( timeout ) : #NEWLINE# #INDENT# self . _wait ( ) #NEWLINE# #UNINDENT# #UNINDENT# except Timeout : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# return timeout . _cond