def _other_endian(typ):
 try:
  return getattr(typ, _OTHER_ENDIAN)
 except AttributeError:
  if (type(typ) == _array_type):
   return (_other_endian(typ._type_) * typ._length_)
  raise TypeError(('This type does not support other endian: %s' % typ))

def _other_endian ( typ ) : try : return getattr ( typ , _OTHER_ENDIAN ) except AttributeError : if ( type ( typ ) == _array_type ) : return ( _other_endian ( typ . _type_ ) * typ . _length_ ) raise TypeError ( ( 'This type does not support other endian: %s' % typ ) )
return the type with the other byte order .