A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-April/143818.html below:

[Python-Dev] Incomplete Internationalization in Argparse Module

[Python-Dev] Incomplete Internationalization in Argparse Module [Python-Dev] Incomplete Internationalization in Argparse ModuleBrett Cannon brett at python.org
Fri Apr 8 17:07:48 EDT 2016
On Fri, 8 Apr 2016 at 14:05 Grady Martin <sunnycemetery at 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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160408/1d464099/attachment-0001.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4