File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1- {"translation" : " 99.96%" , "updated_at" : " 2025-11-29T16:15:12Z " }
1+ {"translation" : " 99.96%" , "updated_at" : " 2025-11-30T02:51:52Z " }
Original file line number Diff line number Diff line change @@ -1455,6 +1455,8 @@ msgid ""
14551455"``'store_const'`` that respectively store the values ``True`` and ``False`` "
14561456"with default values of ``False`` and ``True``::"
14571457msgstr ""
1458+ "``'store_true'`` 和 ``'store_false'`` - 这些是 ``'store_const'`` 分别用于存储 ``True``"
1459+ " 和 ``False``的特例,其默认值为 ``False`` 和 ``True``::"
14581460
14591461#: ../../library/argparse.rst:775
14601462msgid ""
@@ -1502,6 +1504,8 @@ msgid ""
15021504"``None``. The ``'append_const'`` action is typically useful when multiple "
15031505"arguments need to store constants to the same list. For example::"
15041506msgstr ""
1507+ "``'append_const'`` - 这会将由 const_ 关键字参数指定的值添加到一个列表;请注意 const_ 关键字参数默认为 "
1508+ "``None``。 ``'append_const'`` 动作通常适用于多个参数需要将常量存储到同一个列表的场合。 例如::"
15051509
15061510#: ../../library/argparse.rst:799
15071511msgid ""
@@ -1525,6 +1529,9 @@ msgid ""
15251529" ``'?'``, each character of the argument string will be appended to the "
15261530"list. Example usage::"
15271531msgstr ""
1532+ "``'extend'`` - 这会将来自多值参数的每个条目添加到一个列表。 ``'extend'`` 动作通常配合 nargs_ 关键字参数值 "
1533+ "``'+'`` 或 ``'*'`` 使用。 请注意当 nargs_ 为 ``None`` (默认值) 或 ``'?'`` "
1534+ "时,参数字符串的每个字符都将被添加到列表。 示例用法::"
15281535
15291536#: ../../library/argparse.rst:813
15301537msgid ""
You can’t perform that action at this time.
0 commit comments