def motion_string(motion):
 return _motion_names.get(motion, str(motion))

def motion_string ( motion ) : return _motion_names . get ( motion , str ( motion ) )
return a string describing a text motion .