From bc78e37d4600de458559ca25959ee81ab864df29 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 23 Dec 2010 23:45:39 +0000 Subject: update comment --- Lib/gettext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/gettext.py') diff --git a/Lib/gettext.py b/Lib/gettext.py index 24586da3458..73302290dd8 100644 --- a/Lib/gettext.py +++ b/Lib/gettext.py @@ -81,7 +81,7 @@ def c2py(plural): 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), -- cgit v1.2.3-65-gdbad