#NEWLINE# def array_output( rule ) : #NEWLINE# #INDENT# def f( self ) : #NEWLINE# #INDENT# if isinstance ( rule , dt . DataType ) : #NEWLINE# #INDENT# t = rule #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# t = dt . validate_type ( rule ( self ) ) #NEWLINE# #UNINDENT# return t . array_type ( ) #NEWLINE# #UNINDENT# return f