#NEWLINE# def __init__( self , gen , callback ) : #NEWLINE# #INDENT# 'Constructor.\n\n        `gen`\n            Generator\n        `callback`\n            Function that should be called upon generator completion\n        ' #NEWLINE# self . _callback = callback #NEWLINE# super ( SyncRunner , self ) . __init__ ( self )