File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ msgid ""
237237"something leftover in the argument list after options have been parsed, i.e."
238238" after options and their arguments have been parsed and removed from the "
239239"argument list."
240- msgstr ""
240+ msgstr "在解析选项之后,即在选项及其参数解析完成并从参数列表中移除后参数列表中余下的内容。 "
241241
242242#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:171
243243msgid "required option"
@@ -250,17 +250,21 @@ msgid ""
250250"doesn't prevent you from implementing required options, but doesn't give you"
251251" much help at it either."
252252msgstr ""
253+ "必须在命令行中提供的选项;请注意在英文中 \" required option\" 这个短语是自相矛盾的。 :mod:`optparse` "
254+ "不会阻止你实现必须选项,但也不会在这方面给你什么帮助。"
253255
254256#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:173
255257msgid "For example, consider this hypothetical command-line::"
256- msgstr ""
258+ msgstr "例如,考虑这个假设的命令行:: "
257259
258260#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:177
259261msgid ""
260262"``-v`` and ``--report`` are both options. Assuming that ``--report`` takes "
261263"one argument, ``report.txt`` is an option argument. ``foo`` and ``bar`` are"
262264" positional arguments."
263265msgstr ""
266+ "``-v`` 和 ``--report`` 都是选项。 假定 ``--report`` 接受一个参数,``report.txt`` 是一个选项参数。 "
267+ "``foo`` 和 ``bar`` 是位置参数。"
264268
265269#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:185
266270msgid "What are options for?"
You can’t perform that action at this time.
0 commit comments