@@ -2454,21 +2454,27 @@ msgid ""
24542454":attr:`~Option.nargs`, then the option takes :attr:`~Option.nargs` "
24552455"arguments."
24562456msgstr ""
2457+ "当你定义接受固定数量参数的 callback 选项时情况会变得更有趣一点。 指定一个 callback 选项接受参数的操作类似于定义一个 "
2458+ "``\" store\" `` 或 ``\" append\" `` 选项:如果你定义 "
2459+ ":attr:`~Option.type`,那么该选项将接受一个必须可被转换为相应类型的参数;如果你进一步定义 "
2460+ ":attr:`~Option.nargs`,那么该选项将接受 :attr:`~Option.nargs` 个参数。"
24572461
24582462#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1768
24592463msgid "Here's an example that just emulates the standard ``\" store\" `` action::"
2460- msgstr ""
2464+ msgstr "下面是一个模拟了标准 `` \" store \" `` 动作的示例:: "
24612465
24622466#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1777
24632467msgid ""
24642468"Note that :mod:`optparse` takes care of consuming 3 arguments and converting"
24652469" them to integers for you; all you have to do is store them. (Or whatever; "
24662470"obviously you don't need a callback for this example.)"
24672471msgstr ""
2472+ "请注意 :mod:`optparse` 将为你读取 3 个参数并将它们转换为整数;你所要做的只是保存它们。 "
2473+ "(或任何其他操作;对于这个示例显然你不需要使用回调。)"
24682474
24692475#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1785
24702476msgid "Callback example 6: variable arguments"
2471- msgstr ""
2477+ msgstr "回调示例 6:可变的参数 "
24722478
24732479#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1787
24742480msgid ""