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