File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1180,6 +1180,7 @@ msgid ""
11801180"times. Providing a tuple to ``metavar`` specifies a different display for "
11811181"each of the arguments::"
11821182msgstr ""
1183+ "不同的 ``nargs`` 值可能导致 metavar 被多次使用。 提供一个元组给 ``metavar`` 即为每个参数指定不同的显示信息::"
11831184
11841185#: ../../library/argparse.rst:1259
11851186msgid "dest"
@@ -1194,6 +1195,9 @@ msgid ""
11941195"``dest`` is normally supplied as the first argument to "
11951196":meth:`~ArgumentParser.add_argument`::"
11961197msgstr ""
1198+ "大多数 :class:`ArgumentParser` 动作会添加一些值作为 :meth:`~ArgumentParser.parse_args` "
1199+ "所返回对象的一个属性。 该属性的名称由 :meth:`~ArgumentParser.add_argument` 的 ``dest`` 关键字参数确定。"
1200+ " 对于位置参数动作,``dest`` 通常会作为 :meth:`~ArgumentParser.add_argument` 的第一个参数提供::"
11971201
11981202#: ../../library/argparse.rst:1273
11991203msgid ""
You can’t perform that action at this time.
0 commit comments