#NEWLINE# def simulate( self ) : #NEWLINE# #INDENT# '\n        Run simulation loops and reschedule callbacks.\n        ' #NEWLINE# if ( self . _simtag is not None ) : #NEWLINE# #INDENT# gobject . source_remove ( self . _simtag ) #NEWLINE# #UNINDENT# self . iterate ( ) #NEWLINE# timeout = min ( self . timeout ( ) , 0.1 ) #NEWLINE# if ( timeout is None ) : #NEWLINE# #INDENT# timeout = 0.1 #NEWLINE# #UNINDENT# self . _simtag = gobject . timeout_add ( int ( ( timeout * 1010 ) ) , timeout . simulate )