@@ -1496,12 +1496,16 @@ msgid ""
14961496"specify to guide :mod:`optparse`'s behaviour; a few have required "
14971497"attributes, which you must specify for any option using that action."
14981498msgstr ""
1499+ "各种选项动作具有略微不同的要求和效果。 大多数动作都具有几个可被你指定的相关选项属性用来控制 :mod:`optparse` "
1500+ "的行为;少数还具有一些必需属性,你必须为任何使用该动作的选项指定这些属性。"
14991501
15001502#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1083
15011503msgid ""
15021504"``\" store\" `` [relevant: :attr:`~Option.type`, :attr:`~Option.dest`, "
15031505":attr:`~Option.nargs`, :attr:`~Option.choices`]"
15041506msgstr ""
1507+ "``\" store\" `` [关联: :attr:`~Option.type`, :attr:`~Option.dest`, "
1508+ ":attr:`~Option.nargs`, :attr:`~Option.choices`]"
15051509
15061510#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1086
15071511msgid ""
@@ -1512,16 +1516,20 @@ msgid ""
15121516"stored to :attr:`~Option.dest` as a tuple. See the :ref:`optparse-standard-"
15131517"option-types` section."
15141518msgstr ""
1519+ "该选项后必须跟一个参数,它将根据 :attr:`~Option.type` 被转换为相应的值并保存至 :attr:`~Option.dest`。 如果 "
1520+ ":attr:`~Option.nargs` > 1,则将从命令行读取多个参数;它们将全部根据 :attr:`~Option.type` "
1521+ "被转换并以元组形式保存至 :attr:`~Option.dest`。 参见 :ref:`optparse-standard-option-types` "
1522+ "一节。"
15151523
15161524#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1093
15171525msgid ""
15181526"If :attr:`~Option.choices` is supplied (a list or tuple of strings), the "
15191527"type defaults to ``\" choice\" ``."
1520- msgstr ""
1528+ msgstr "如果提供了 :attr:`~Option.choices` (由字符串组成的列表和元组),则类型默认为 `` \" choice \" ``。 "
15211529
15221530#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1096
15231531msgid "If :attr:`~Option.type` is not supplied, it defaults to ``\" string\" ``."
1524- msgstr ""
1532+ msgstr "如果未提供 :attr:`~Option.type`,则默认为 `` \" string \" ``。 "
15251533
15261534#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1098
15271535msgid ""