def month_by_abbreviation(abbrev):
 try:
  return ([s[:3] for s in ENGLISH_MONTH_NAMES].index(abbrev) + 1)
 except ValueError:
  return None

def month_by_abbreviation ( abbrev ) : try : return ( [ s [ : 3 ] for s in ENGLISH_MONTH_NAMES ] . index ( abbrev ) + 1 ) except ValueError : return None
return the number of a month by english abbreviations .