#NEWLINE# def array_tf_0f( arr ) : #NEWLINE# #INDENT# slices = ( [ slice ( None ) for _ in range ( ( arr . ndim - 2 ) ) ] + [ slice ( None ) , slice ( None , None , ( - 1 ) ) ] ) #NEWLINE# return arr [ tuple ( slices ) ]