aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-12-23 23:45:39 +0000
committerBenjamin Peterson <benjamin@python.org>2010-12-23 23:45:39 +0000
commitbc78e37d4600de458559ca25959ee81ab864df29 (patch)
tree08e937eb96363aa1587f00e75be1c5f554506e59 /Lib/gettext.py
parentFix syntax typo (diff)
downloadcpython-bc78e37d4600de458559ca25959ee81ab864df29.tar.gz
cpython-bc78e37d4600de458559ca25959ee81ab864df29.tar.bz2
cpython-bc78e37d4600de458559ca25959ee81ab864df29.zip
update comment
Diffstat (limited to 'Lib/gettext.py')
-rw-r--r--Lib/gettext.py2
1 files changed, 1 insertions, 1 deletions
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),