@@ -1044,7 +1044,7 @@ msgstr "创建解析器"
10441044msgid ""
10451045"The first step in using :mod:`optparse` is to create an OptionParser "
10461046"instance."
1047- msgstr ""
1047+ msgstr "使用 :mod:`optparse` 的第一步是创建 OptionParser 实例。 "
10481048
10491049#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:805
10501050msgid ""
@@ -1053,6 +1053,7 @@ msgid ""
10531053"arguments, i.e. do not rely on the order in which the arguments are "
10541054"declared."
10551055msgstr ""
1056+ "OptionParser 构造器没有必需的参数,只有一些可选的关键字参数。 你应当始终以关键字参数形式传入它们,即不要依赖于声明参数所在位置的顺序。"
10561057
10571058#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:814
10581059msgid "``usage`` (default: ``\" %prog [options]\" ``)"
@@ -1066,6 +1067,9 @@ msgid ""
10661067" that keyword argument). To suppress a usage message, pass the special "
10671068"value :data:`optparse.SUPPRESS_USAGE`."
10681069msgstr ""
1070+ "当你的程序不正确地运行或附带 help 选项运行时将打印的用法说明。 当 :mod:`optparse` 打印用法字符串时,它会将 ``%prog`` "
1071+ "扩展为 ``os.path.basename(sys.argv[0])`` (或者如果你传入 ``prog`` 则为该关键字参数值)。 "
1072+ "要屏蔽用法说明,请传入特殊值 :data:`optparse.SUPPRESS_USAGE`。"
10691073
10701074#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:821
10711075msgid "``option_list`` (default: ``[]``)"