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