Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1696f82 commit bc78e37Copy full SHA for bc78e37
1 file changed
Lib/gettext.py
@@ -81,7 +81,7 @@ def c2py(plural):
81
plural = expr.sub(' not \\1', plural)
82
83
# Regular expression and replacement function used to transform
84
- # "a?b:c" to "test(a,b,c)".
+ # "a?b:c" to "b if a else c".
85
expr = re.compile(r'(.*?)\?(.*?):(.*)')
86
def repl(x):
87
return "(%s if %s else %s)" % (x.group(2), x.group(1),
0 commit comments