def _get_name(type_, value):
 return (type_._VALUES_TO_NAMES[value] if (value is not None) else u'None')

def _get_name ( type_ , value ) : return ( type_ . _VALUES_TO_NAMES [ value ] if ( value is not None ) else u'None' )
return the name for the given value of the given type_ .