def accept_left_right_center(value):
 deprecated((0, 12, 4), "'left_center' and 'right_center' enumerations", "'center_left' or 'center_right' respectively")
 return {'left_center': 'center_left', 'right_center': 'center_right'}[value]

def accept_left_right_center ( value ) : deprecated ( ( 0 , 12 , 4 ) , "'left_center' and 'right_center' enumerations" , "'center_left' or 'center_right' respectively" ) return { 'left_center' : 'center_left' , 'right_center' : 'center_right' } [ value ]
accept and convert deprecated location values .