#NEWLINE# @ moduledef . method ( 'tap' ) #NEWLINE# def method_tap( self , space , block ) : #NEWLINE# #INDENT# if ( block is not None ) : #NEWLINE# #INDENT# space . invoke_block ( space , [ self ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise space . error ( space . w_LocalJumpError , 'no block given' ) #NEWLINE# #UNINDENT# return self