On Fri, 8 Apr 2016 at 14:05 Grady Martin <sunnycemet...@gmail.com> wrote:

> Hello, all.  I was wondering if the following string was left untouched by
> gettext for a purpose (from line 720 of argparse.py, in class
> ArgumentError):
>
> 'argument %(argument_name)s: %(message)s'
>
> There may be other untranslatable strings in the argparse module, but I
> have yet to encounter them in the wild.
>

Probably so that anyone introspecting on the error message can count on
somewhat of a consistent format (comes into play with doctest typically).
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to