commit | bc78e37d4600de458559ca25959ee81ab864df29 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Dec 23 23:45:39 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Dec 23 23:45:39 2010 +0000 |
tree | 08e937eb96363aa1587f00e75be1c5f554506e59 | |
parent | 1696f822e887ec262785a6902cf0296ddd05ebf4 [diff] [blame] |
update comment
diff --git a/Lib/gettext.py b/Lib/gettext.py index 24586da..7330229 100644 --- a/Lib/gettext.py +++ b/Lib/gettext.py
@@ -81,7 +81,7 @@ plural = expr.sub(' not \\1', plural) # Regular expression and replacement function used to transform - # "a?b:c" to "test(a,b,c)". + # "a?b:c" to "b if a else c". expr = re.compile(r'(.*?)\?(.*?):(.*)') def repl(x): return "(%s if %s else %s)" % (x.group(2), x.group(1),