def get_is_plural_num(match):
 plural_str = match.group(2).strip()
 if (plural_str not in _IS_PLURAL_NUM):
  holds_num = _check_plural_arg_is_num(plural_str)
  if (holds_num is None):
   holds_num = prompt_user(('Ambiguous: Does %s handle a number? (y/[n]) ' % plural_str), default='n')
   holds_num = ('y' in holds_num)
  _IS_PLURAL_NUM[plural_str] = holds_num
 return _IS_PLURAL_NUM[plural_str]

def get_is_plural_num ( match ) : plural_str = match . group ( 2 ) . strip ( ) if ( plural_str not in _IS_PLURAL_NUM ) : holds_num = _check_plural_arg_is_num ( plural_str ) if ( holds_num is None ) : holds_num = prompt_user ( ( 'Ambiguous: Does %s handle a number? (y/[n]) ' % plural_str ) , default = 'n' ) holds_num = ( 'y' in holds_num ) _IS_PLURAL_NUM [ plural_str ] = holds_num return _IS_PLURAL_NUM [ plural_str ]
prompt to user for help in determining if the argument to plural() is a number .