@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-07-11 14:21+0000\n "
14+ "POT-Creation-Date : 2025-07-25 14:21+0000\n "
1515"PO-Revision-Date : 2025-07-18 18:48+0000\n "
1616"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2025\n "
1717"Language-Team : German (https://app.transifex.com/python-doc/teams/5390/de/)\n "
@@ -175,7 +175,7 @@ msgid ""
175175"subparser names (default: ``False``)"
176176msgstr ""
177177
178- msgid "color_ - Allow color output (default: ``False ``)"
178+ msgid "color_ - Allow color output (default: ``True ``)"
179179msgstr ""
180180
181181msgid "*allow_abbrev* parameter was added."
@@ -548,14 +548,20 @@ msgid ""
548548msgstr ""
549549
550550msgid ""
551- "Arguments read from a file must by default be one per line (but see also :"
551+ "Arguments read from a file must be one per line by default (but see also :"
552552"meth:`~ArgumentParser.convert_arg_line_to_args`) and are treated as if they "
553553"were in the same place as the original file referencing argument on the "
554554"command line. So in the example above, the expression ``['-f', 'foo', "
555555"'@args.txt']`` is considered equivalent to the expression ``['-f', 'foo', '-"
556556"f', 'bar']``."
557557msgstr ""
558558
559+ msgid ""
560+ "Empty lines are treated as empty strings (``''``), which are allowed as "
561+ "values but not as arguments. Empty lines that are read as arguments will "
562+ "result in an \" unrecognized arguments\" error."
563+ msgstr ""
564+
559565msgid ""
560566":class:`ArgumentParser` uses :term:`filesystem encoding and error handler` "
561567"to read the file containing arguments."
@@ -779,36 +785,22 @@ msgid "color"
779785msgstr ""
780786
781787msgid ""
782- "By default, the help message is printed in plain text. If you want to allow "
783- "color in help messages, you can enable it by setting ``color`` to ``True``::"
788+ "By default, the help message is printed in color using `ANSI escape "
789+ "sequences <https://en.wikipedia.org/wiki/ANSI_escape_code>`__. If you want "
790+ "plain text help messages, you can disable this :ref:`in your local "
791+ "environment <using-on-controlling-color>`, or in the argument parser itself "
792+ "by setting ``color`` to ``False``::"
784793msgstr ""
785794
786795msgid ""
787796">>> parser = argparse.ArgumentParser(description='Process some integers.',\n"
788- "... color=True )\n"
797+ "... color=False )\n"
789798">>> parser.add_argument('--action', choices=['sum', 'max'])\n"
790799">>> parser.add_argument('integers', metavar='N', type=int, nargs='+',\n"
791800"... help='an integer for the accumulator')\n"
792801">>> parser.parse_args(['--help'])"
793802msgstr ""
794803
795- msgid ""
796- "Even if a CLI author has enabled color, it can be :ref:`controlled using "
797- "environment variables <using-on-controlling-color>`."
798- msgstr ""
799-
800- msgid ""
801- "If you're writing code that needs to be compatible with older Python "
802- "versions and want to opportunistically use ``color`` when it's available, "
803- "you can set it as an attribute after initializing the parser instead of "
804- "using the keyword argument::"
805- msgstr ""
806-
807- msgid ""
808- ">>> parser = argparse.ArgumentParser(description='Process some integers.')\n"
809- ">>> parser.color = True"
810- msgstr ""
811-
812804msgid "The add_argument() method"
813805msgstr ""
814806
0 commit comments