Module Expr Str ImportFrom alias alias ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Assign NameStore TupleLoad Num Str ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Assign NameStore Call NameLoad Call NameLoad Num keyword Str Assign NameStore Call NameLoad Call NameLoad Num keyword Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults BinOpMod Str NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return Call NameLoad NameLoad decorator_list
N/A N/A Plural form definitions. babel.core default_locale Locale operator itemgetter N/A LC_CTYPE N/A default_locale LC_CTYPE N/A PLURALS N/A af ar bg bn bo ca cs cv cy da de dz el en eo es et eu fa fi fr fur ga gl ha he hi hr hu hy is it ja ka kg km ko ku lo lt lv mt nb nl nn no pa pl pt pt_BR ro ru sk sl sr st sv th tr uk ve vi xh zh_CN zh_HK zh_TW N/A 2 (n != 1) N/A 6 (n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n>=3 && n<=10 ? 3 : n>=11 && n<=99 ? 4 : 5) N/A 2 (n != 1) N/A 2 (n != 1) N/A 1 0 N/A 2 (n != 1) N/A 3 (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2) N/A 1 0 N/A 5 (n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 0) N/A 2 (n != 1) N/A 2 (n != 1) N/A 1 0 N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 1 0 N/A 2 (n != 1) N/A 2 (n > 1) N/A 2 (n > 1) N/A 3 (n==1 ? 0 : n==2 ? 1 : 2) N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 3 (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2) N/A 1 0 N/A 1 0 N/A 2 (n != 1) N/A 2 (n != 1) N/A 1 0 N/A 1 0 N/A 2 (n != 1) N/A 1 0 N/A 1 0 N/A 2 (n != 1) N/A 1 0 N/A 3 (n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2) N/A 3 (n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2) N/A 4 (n==1 ? 0 : n==0 || ( n%100>1 && n%100<11) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3) N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 2 (n != 1) N/A 3 (n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2) N/A 2 (n != 1) N/A 2 (n > 1) N/A 3 (n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2) N/A 3 (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2) N/A 3 (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2) N/A 4 (n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3) N/A 3 (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2) N/A 2 (n != 1) N/A 2 (n != 1) N/A 1 0 N/A 1 0 N/A 3 (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2) N/A 2 (n != 1) N/A 1 0 N/A 2 (n != 1) N/A 1 0 N/A 1 0 N/A 1 0 N/A DEFAULT_PLURAL N/A 2 (n != 1) _PluralTuple N/A tuple N/A N/A A tuple with plural information. N/A __slots__ N/A N/A num_plurals N/A property N/A itemgetter 0 doc 
    The number of plurals used by the locale. N/A plural_expr N/A property N/A itemgetter 1 doc 
    The plural expression used by the locale. N/A plural_forms N/A property N/A N/A N/A x N/A N/A npurals=%s; plural=%s x doc 
    The plural expression used by the catalog or locale. __str__ N/A N/A self N/A N/A N/A N/A self plural_forms N/A N/A get_plural N/A N/A locale N/A LC_CTYPE N/A N/A A tuple with the information catalogs need to perform proper
    pluralization.  The first item of the tuple is the number of plural
    forms, the second the plural expression.

    >>> get_plural(locale='en')
    (2, '(n != 1)')
    >>> get_plural(locale='ga')
    (3, '(n==1 ? 0 : n==2 ? 1 : 2)')

    The object returned is a special tuple with additional members:

    >>> tup = get_plural("ja")
    >>> tup.num_plurals
    1
    >>> tup.plural_expr
    '0'
    >>> tup.plural_forms
    'npurals=1; plural=0'

    Converting the tuple into a string prints the plural forms for a
    gettext catalog:

    >>> str(tup)
    'npurals=1; plural=0'
     N/A locale N/A N/A Locale parse locale N/A N/A N/A tup N/A PLURALS N/A N/A str locale N/A N/A N/A KeyError N/A N/A N/A N/A tup N/A PLURALS N/A N/A locale language N/A N/A N/A KeyError N/A N/A tup DEFAULT_PLURAL N/A N/A _PluralTuple tup N/A