Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc78e37

Browse files
committed
update comment
1 parent 1696f82 commit bc78e37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/gettext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def c2py(plural):
8181
plural = expr.sub(' not \\1', plural)
8282

8383
# Regular expression and replacement function used to transform
84-
# "a?b:c" to "test(a,b,c)".
84+
# "a?b:c" to "b if a else c".
8585
expr = re.compile(r'(.*?)\?(.*?):(.*)')
8686
def repl(x):
8787
return "(%s if %s else %s)" % (x.group(2), x.group(1),

0 commit comments

Comments
 (0)