/usr/lib/python3.6/site-packages/babel/messages/__pycache__
NameSizeModeActions
catalog.cpython-36.opt-1.pyc261380644editdlrm
catalog.cpython-36.pyc262830644editdlrm
checkers.cpython-36.opt-1.pyc46390644editdlrm
checkers.cpython-36.pyc46390644editdlrm
extract.cpython-36.opt-1.pyc186860644editdlrm
extract.cpython-36.pyc186860644editdlrm
frontend.cpython-36.opt-1.pyc276660644editdlrm
frontend.cpython-36.pyc278760644editdlrm
jslexer.cpython-36.opt-1.pyc42160644editdlrm
jslexer.cpython-36.pyc43350644editdlrm
mofile.cpython-36.opt-1.pyc53300644editdlrm
mofile.cpython-36.pyc53300644editdlrm
plurals.cpython-36.opt-1.pyc46780644editdlrm
plurals.cpython-36.pyc46780644editdlrm
pofile.cpython-36.opt-1.pyc165770644editdlrm
pofile.cpython-36.pyc165770644editdlrm
__init__.cpython-36.opt-1.pyc3490644editdlrm
__init__.cpython-36.pyc3490644editdlrm
Edit: /usr/lib/python3.6/site-packages/babel/messages/__pycache__/plurals.cpython-36.pyc (4678B)
3 X\0X!ãD@sØdZddlmZmZddlmZedƒZd!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdœCZddZGdd„de ƒZ efdd„Z d S)ez³ babel.messages.plurals ~~~~~~~~~~~~~~~~~~~~~~ Plural form definitions. :copyright: (c) 2013 by the Babel Team. :license: BSD, see LICENSE for more details. é)Údefault_localeÚLocale)Ú itemgetterÚLC_CTYPEéú(n != 1)éú[(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=0 && n%100<=2 ? 4 : 5)éúR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)éÚ0á&(n==1 ? 0 : n%10==1 && n%100!=11 && n%100!=71 && n%100!=91 ? 1 : n%10==2 && n%100!=12 && n%100!=72 && n%100!=92 ? 2 : (n%10==3 || n%10==4 || n%10==9) && n%100!=13 && n%100!=14 && n%100!=19 && n%100!=73 && n%100!=74 && n%100!=79 && n%100!=93 && n%100!=94 && n%100!=99 ? 3 : n%1000000==0 ? 4 : 5)ú%((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2)éú/(n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 0)ú(n > 1)ú@(n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4)ú(n%10==1 && n%100!=11 ? 0 : 1)úG(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)ú+(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)éúS(n==1 ? 0 : n==0 || ( n%100=>1 && n%100<=10) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)úB(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)ú8(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)ú<(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3))CZafÚarZbeZbgZbnZboÚbrZbsZcaZcsZcvZcyZdaZdeZdzZelZenZeoZesZetZeuZfaZfiÚfrZfurZgaZglZhaZheÚhiZhrZhuZhyÚisÚitZjaZkaZkgZkmZkoZkuÚloÚltZlvZmtZnbÚnlZnnÚnoZpaZplZptZpt_BRZroZruZskZslÚsrÚstZsvZthZtrZukZveZviZxhZzhc@sLeZdZdZfZeedƒddZeedƒddZedd„d dZ d d „Z d S) Ú _PluralTuplez A tuple with plural information.rz. The number of plurals used by the locale.)Údocr z. The plural expression used by the locale.cCsd|S)Nznplurals=%s; plural=%s;©)Úxr*r*ú/usr/lib/python3.6/plurals.pyÚØsz_PluralTuple.z9 The plural expression used by the catalog or locale.cCs|jS)N)Ú plural_forms)Úselfr*r*r,Ú__str__Ûsz_PluralTuple.__str__N) Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú __slots__ÚpropertyrZ num_pluralsZ plural_exprr.r0r*r*r*r,r(Ðsr(cCs`tj|ƒ}ytt|ƒ}Wn<tk rVyt|j}Wntk rPt}YnXYnXt|ƒS)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') (5, '(n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4)') 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 'nplurals=1; plural=0;' Converting the tuple into a string prints the plural forms for a gettext catalog: >>> str(tup) 'nplurals=1; plural=0;' )rÚparseÚPLURALSÚstrÚKeyErrorZlanguageÚDEFAULT_PLURALr()ZlocaleÚtupr*r*r,Ú get_pluralßs r=N)rr)rr )r r )rr)rr)r r )rr)r r )rr)r r)r r )rr)rr)rr)r r )rr)rr)rr)rr)rr)rr)r r )rr)rr)rr)rr)rr)rr)rr)rr)r r )r r )r r )rr)rr)r r )r r )rr)r r )r r )rr)r r )r r)r r)rr)rr)rr)rr)rr)rr)r r)rr)rr)r r)r r )r r)rr)r r )rr)rr)r r )r r )r r )rr)r r )rr)r r )rr) r4Z babel.corerrÚoperatorrrr8r;Útupler(r=r*r*r*r,Ú s”