#NEWLINE# def _rec_diff_in( g , m , v , i , j , K ) : #NEWLINE# #INDENT# 'Recursive helper for :func:`dmp_diff_in`.' #NEWLINE# if ( i == j ) : #NEWLINE# #INDENT# return dmp_diff ( g , m , v , K ) #NEWLINE# #UNINDENT# ( w , i ) = ( ( v - 1 ) , ( i + 1 ) ) #NEWLINE# return dmp_strip ( [ _rec_diff_in ( c , m , w , m , j , K ) for c in g ] , v )