def get_year_and_month_format(locale):
 return locale_year_and_month_formats.get(locale.language.lower(), u'MMM y')

def get_year_and_month_format ( locale ) : return locale_year_and_month_formats . get ( locale . language . lower ( ) , u'MMM y' )
get the babel/unicode format string for a "year and month" format for the given locale .