#NEWLINE# def _spawn_done( self , coro ) : #NEWLINE# #INDENT# self . sem . release ( ) #NEWLINE# if ( coro is not None ) : #NEWLINE# #INDENT# self . coroutines_running . remove ( coro ) #NEWLINE# #UNINDENT# if ( self . sem . balance == self . size ) : #NEWLINE# #INDENT# self . no_coros_running . send ( None )