Searched refs:c2py (Results 1 – 3 of 3) sorted by relevance
236 f = gettext.c2py('0')242 f = gettext.c2py('n != 1')248 f = gettext.c2py('n>1')254 f = gettext.c2py('n==1 ? 0 : n==2 ? 1 : 2')261 f = gettext.c2py('n==1 ? 0 : (n==2 ? 1 : 2)')267 f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2')273 …f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2…279 f = gettext.c2py('n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2')285 f = gettext.c2py('n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3')292 raises(ValueError, gettext.c2py, "os.chmod('/etc/passwd',0777)")
77 def c2py(plural): function318 self.plural = c2py(plural)
75 def c2py(plural): function315 self.plural = c2py(plural)