Home
last modified time | relevance | path

Searched refs:c2py (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/test/
Dtest_gettext.py359 f = gettext.c2py('0')
365 f = gettext.c2py('n != 1')
371 f = gettext.c2py('n>1')
377 f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2')
383 f = gettext.c2py('n==1 ? 0 : n==2 ? 1 : 2')
390 f = gettext.c2py('n==1 ? 0 : (n==2 ? 1 : 2)')
396 f = gettext.c2py('n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2')
402 f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2')
408 …f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2…
414 f = gettext.c2py('(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2')
[all …]
/third_party/python/Lib/
Dgettext.py175 def c2py(plural): function
439 self.plural = c2py(plural)