summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/argparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py
index 8d1a00a..1c5520c 100644
--- a/Lib/argparse.py
+++ b/Lib/argparse.py
@@ -766,7 +766,7 @@ class ArgumentError(Exception):
if self.argument_name is None:
format = '%(message)s'
else:
- format = 'argument %(argument_name)s: %(message)s'
+ format = _('argument %(argument_name)s: %(message)s')
return format % dict(message=self.message,
argument_name=self.argument_name)