@@ -1283,6 +1283,8 @@ msgid ""
12831283"``'store_const'`` that respectively store the values ``True`` and ``False`` "
12841284"with default values of ``False`` and ``True``::"
12851285msgstr ""
1286+ "``'store_true'`` 和 ``'store_false'`` - 这些是 ``'store_const'`` 分别用于存储 ``True``"
1287+ " 和 ``False``的特例,其默认值为 ``False`` 和 ``True``::"
12861288
12871289#: ../../library/argparse.rst:683
12881290msgid ""
@@ -1330,6 +1332,8 @@ msgid ""
13301332"``None``. The ``'append_const'`` action is typically useful when multiple "
13311333"arguments need to store constants to the same list. For example::"
13321334msgstr ""
1335+ "``'append_const'`` - 这会将由 const_ 关键字参数指定的值添加到一个列表;请注意 const_ 关键字参数默认为 "
1336+ "``None``。 ``'append_const'`` 动作通常适用于多个参数需要将常量存储到同一个列表的场合。 例如::"
13331337
13341338#: ../../library/argparse.rst:707
13351339msgid ""
@@ -1353,6 +1357,9 @@ msgid ""
13531357" ``'?'``, each character of the argument string will be appended to the "
13541358"list. Example usage::"
13551359msgstr ""
1360+ "``'extend'`` - 这会将来自多值参数的每个条目添加到一个列表。 ``'extend'`` 动作通常配合 nargs_ 关键字参数值 "
1361+ "``'+'`` 或 ``'*'`` 使用。 请注意当 nargs_ 为 ``None`` (默认值) 或 ``'?'`` "
1362+ "时,参数字符串的每个字符都将被添加到列表。 示例用法::"
13561363
13571364#: ../../library/argparse.rst:721
13581365msgid ""
@@ -1370,7 +1377,7 @@ msgstr ""
13701377msgid ""
13711378"``'count'`` - This counts the number of times an argument occurs. For "
13721379"example, this is useful for increasing verbosity levels::"
1373- msgstr ""
1380+ msgstr "``'count'`` - 这将统计一个关键字出现的次数。 例如,这适用于递增详情级别:: "
13741381
13751382#: ../../library/argparse.rst:731
13761383msgid ""
0 commit comments