@@ -21,15 +21,15 @@ msgstr ""
2121
2222#: ../../howto/argparse-optparse.rst:8
2323msgid "Migrating ``optparse`` code to ``argparse``"
24- msgstr "``optparse``-Code nach ``argparse`` migrieren "
24+ msgstr "Migration von ``optparse``-Code zu ``argparse``"
2525
2626#: ../../howto/argparse-optparse.rst:10
2727msgid ""
2828"The :mod:`argparse` module offers several higher level features not natively "
2929"provided by the :mod:`optparse` module, including:"
3030msgstr ""
31- "Das Modul :mod:`argparse` bietet mehrere höhere Funktionen, die das Modul : "
32- "mod:`optparse` von sich aus nicht bereitstellt, darunter:"
31+ "Das Modul :mod:`argparse` bietet mehrere höhere Funktionen, die das "
32+ "Modul : mod:`optparse` von sich aus nicht bereitstellt, darunter:"
3333
3434#: ../../howto/argparse-optparse.rst:13
3535msgid "Handling positional arguments."
@@ -66,9 +66,9 @@ msgid ""
6666"named options and positional arguments in the declarative interface mean "
6767"that the API has diverged from that of ``optparse`` over time."
6868msgstr ""
69- "Ursprünglich versuchte das Modul :mod:`argparse`, die Kompatibilität mit : "
70- "mod:`optparse` zu erhalten. Die grundlegenden Entwurfsunterschiede zwischen "
71- "einer deklarativen Verarbeitung von Befehlszeilenoptionen (die die "
69+ "Ursprünglich versuchte das Modul :mod:`argparse`, die Kompatibilität "
70+ "mit : mod:`optparse` zu erhalten. Die grundlegenden Entwurfsunterschiede "
71+ "zwischen einer deklarativen Verarbeitung von Befehlszeilenoptionen (die die "
7272"Verarbeitung positioneller Argumente dem Anwendungscode überlässt) und der "
7373"Unterstützung sowohl benannter Optionen als auch positioneller Argumente in "
7474"der deklarativen Schnittstelle führen jedoch dazu, dass sich die API im "
@@ -97,41 +97,43 @@ msgstr ""
9797
9898#: ../../howto/argparse-optparse.rst:35
9999msgid ""
100- "For applications that do choose to migrate from :mod:`optparse` to :mod: "
101- "`argparse`, the following suggestions should be helpful:"
100+ "For applications that do choose to migrate from :mod:`optparse` "
101+ "to :mod: `argparse`, the following suggestions should be helpful:"
102102msgstr ""
103- "Für Anwendungen, die sich für die Migration von :mod:`optparse` nach :mod:"
104- "`argparse` entscheiden, dürften die folgenden Vorschläge hilfreich sein:"
103+ "Für Anwendungen, die sich für die Migration von :mod:`optparse` "
104+ "nach :mod:`argparse` entscheiden, dürften die folgenden Vorschläge hilfreich "
105+ "sein:"
105106
106107#: ../../howto/argparse-optparse.rst:38
107108msgid ""
108- "Replace all :meth:`optparse.OptionParser.add_option` calls with :meth: "
109- "`ArgumentParser.add_argument` calls."
109+ "Replace all :meth:`optparse.OptionParser.add_option` calls "
110+ "with :meth: `ArgumentParser.add_argument` calls."
110111msgstr ""
111112"Ersetze alle Aufrufe von :meth:`optparse.OptionParser.add_option` durch "
112113"Aufrufe von :meth:`ArgumentParser.add_argument`."
113114
114115#: ../../howto/argparse-optparse.rst:41
115116msgid ""
116- "Replace ``(options, args) = parser.parse_args()`` with ``args = parser. "
117- "parse_args()`` and add additional :meth:`ArgumentParser.add_argument` calls "
118- "for the positional arguments. Keep in mind that what was previously called "
119- "``options``, now in the :mod:`argparse` context is called ``args``."
117+ "Replace ``(options, args) = parser.parse_args()`` with ``args = "
118+ "parser. parse_args()`` and add additional :meth:`ArgumentParser.add_argument` "
119+ "calls for the positional arguments. Keep in mind that what was previously "
120+ "called ``options``, now in the :mod:`argparse` context is called ``args``."
120121msgstr ""
121- "Ersetze ``(options, args) = parser.parse_args()`` durch ``args = parser."
122- "parse_args()`` und füge für die positionellen Argumente weitere Aufrufe von :"
123- "meth:`ArgumentParser.add_argument` hinzu. Bedenke, dass das, was früher "
124- "``options`` hieß, im Kontext von :mod:`argparse` jetzt ``args`` heißt."
122+ "Ersetze ``(options, args) = parser.parse_args()`` durch ``args = "
123+ "parser.parse_args()`` und füge für die positionellen Argumente weitere "
124+ "Aufrufe von :meth:`ArgumentParser.add_argument` hinzu. Bedenke, dass das, "
125+ "was früher ``options`` hieß, im Kontext von :mod:`argparse` jetzt ``args`` "
126+ "heißt."
125127
126128#: ../../howto/argparse-optparse.rst:46
127129msgid ""
128- "Replace :meth:`optparse.OptionParser.disable_interspersed_args` by using : "
129- "meth:`~ArgumentParser.parse_intermixed_args` instead of :meth: "
130- "`~ArgumentParser.parse_args`."
130+ "Replace :meth:`optparse.OptionParser.disable_interspersed_args` by "
131+ "using : meth:`~ArgumentParser.parse_intermixed_args` instead "
132+ "of :meth: `~ArgumentParser.parse_args`."
131133msgstr ""
132- "Ersetze :meth:`optparse.OptionParser.disable_interspersed_args`, indem du : "
133- "meth:`~ArgumentParser.parse_intermixed_args` anstelle von :meth: "
134- "`~ArgumentParser.parse_args` verwendest."
134+ "Ersetze :meth:`optparse.OptionParser.disable_interspersed_args`, indem "
135+ "du : meth:`~ArgumentParser.parse_intermixed_args` anstelle "
136+ "von :meth: `~ArgumentParser.parse_args` verwendest."
135137
136138#: ../../howto/argparse-optparse.rst:50
137139msgid ""
@@ -151,12 +153,13 @@ msgstr ""
151153
152154#: ../../howto/argparse-optparse.rst:56
153155msgid ""
154- "Replace :class:`optparse.Values` with :class:`Namespace` and :exc:`optparse."
155- "OptionError` and :exc:`optparse.OptionValueError` with :exc:`ArgumentError`."
156+ "Replace :class:`optparse.Values` with :class:`Namespace` "
157+ "and :exc:`optparse.OptionError` and :exc:`optparse.OptionValueError` "
158+ "with :exc:`ArgumentError`."
156159msgstr ""
157- "Ersetze :class:`optparse.Values` durch :class:`Namespace` sowie :exc: "
158- "`optparse.OptionError` und :exc:`optparse.OptionValueError` durch :exc: "
159- "`ArgumentError`."
160+ "Ersetze :class:`optparse.Values` durch :class:`Namespace` "
161+ "sowie :exc: `optparse.OptionError` und :exc:`optparse.OptionValueError` "
162+ "durch :exc: `ArgumentError`."
160163
161164#: ../../howto/argparse-optparse.rst:60
162165msgid ""
0 commit comments