@staticmethod<EOL><INDENT>def get(number, locale):<DEDENT>
if locale == '<STR_LIT>':<EOL><INDENT>locale = '<STR_LIT>'<EOL><DEDENT>if len(locale) > <NUM_LIT:3>:<EOL><INDENT>locale = locale.split("<STR_LIT:_>")[<NUM_LIT:0>]<EOL><DEDENT>rule = PluralizationRules._rules.get(locale, lambda _: <NUM_LIT:0>)<EOL>_return = rule(number)<EOL>if not isinstance(_return, int) or _return < <NUM_LIT:0>:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>return _return<EOL>
Returns the plural position to use for the given locale and number.

@type number: int
@param number: The number

@type locale: str
@param locale: The locale

@rtype: int
@return: The plural position