#NEWLINE# def _chk_asarray( a , axis ) : #NEWLINE# #INDENT# a = ma . asanyarray ( a ) #NEWLINE# if ( a is None ) : #NEWLINE# #INDENT# a = ma . ravel ( a ) #NEWLINE# outaxis = 0 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# outaxis = axis #NEWLINE# #UNINDENT# return ( a , outaxis )