]> granicus.if.org Git - python/commitdiff
update comment
authorBenjamin Peterson <benjamin@python.org>
Thu, 23 Dec 2010 23:45:39 +0000 (23:45 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 23 Dec 2010 23:45:39 +0000 (23:45 +0000)
Lib/gettext.py

index 24586da3458fa10c526ac02bb0e4f7939535b20d..73302290dd8d428be2d14b944c0af859189bbca2 100644 (file)
@@ -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),