@@ -2017,31 +2017,38 @@ msgstr ""
20172017msgid ""
20182018"Replace callback actions and the ``callback_*`` keyword arguments with "
20192019"``type`` or ``action`` arguments."
2020- msgstr ""
2020+ msgstr "将回调动作和 ``callback_*`` 关键字参数替换为 ``type`` 或 ``action`` 参数。 "
20212021
20222022#: ../../library/argparse.rst:2103
20232023msgid ""
20242024"Replace string names for ``type`` keyword arguments with the corresponding "
20252025"type objects (e.g. int, float, complex, etc)."
2026- msgstr ""
2026+ msgstr "将 ``type`` 关键字参数字符串名称替换为相应的类型对象(例如 int, float, complex 等)。 "
20272027
20282028#: ../../library/argparse.rst:2106
20292029msgid ""
20302030"Replace :class:`optparse.Values` with :class:`Namespace` and "
20312031":exc:`optparse.OptionError` and :exc:`optparse.OptionValueError` with "
20322032":exc:`ArgumentError`."
20332033msgstr ""
2034+ "将 :class:`optparse.Values` 替换为 :class:`Namespace` 并将 "
2035+ ":exc:`optparse.OptionError` 和 :exc:`optparse.OptionValueError` 替换为 "
2036+ ":exc:`ArgumentError`。"
20342037
20352038#: ../../library/argparse.rst:2110
20362039msgid ""
20372040"Replace strings with implicit arguments such as ``%default`` or ``%prog`` "
20382041"with the standard Python syntax to use dictionaries to format strings, that "
20392042"is, ``%(default)s`` and ``%(prog)s``."
20402043msgstr ""
2044+ "将隐式参数字符串例如使用标准 Python 字典语法的 ``%default`` 或 ``%prog`` 替换为格式字符串,即 "
2045+ "``%(default)s`` 和 ``%(prog)s``。"
20412046
20422047#: ../../library/argparse.rst:2114
20432048msgid ""
20442049"Replace the OptionParser constructor ``version`` argument with a call to "
20452050"``parser.add_argument('--version', action='version', version='<the "
20462051"version>')``."
20472052msgstr ""
2053+ "将 OptionParser 构造器 ``version`` 参数替换为对 ``parser.add_argument('--version', "
2054+ "action='version', version='<the version>')`` 的调用。"
0 commit comments