File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1210,14 +1210,17 @@ msgid ""
12101210"characters to make sure the string is a valid attribute name. The examples "
12111211"below illustrate this behavior::"
12121212msgstr ""
1213+ "对于可选参数动作,``dest`` 的值通常取自选项字符串。 :class:`ArgumentParser` 会通过接受第一个长选项字符串并去掉开头的 "
1214+ "``--`` 字符串来生成 ``dest`` 的值。 如果没有提供长选项字符串,则 ``dest`` 将通过接受第一个短选项字符串并去掉开头的 "
1215+ "``-`` 字符来获得。 任何内部的 ``-`` 字符都将被转换为 ``_`` 字符以确保字符串是有效的属性名称。 下面的例子显示了这种行为::"
12131216
12141217#: ../../library/argparse.rst:1290
12151218msgid "``dest`` allows a custom attribute name to be provided::"
1216- msgstr ""
1219+ msgstr "``dest`` 允许提供自定义属性名称:: "
12171220
12181221#: ../../library/argparse.rst:1298
12191222msgid "Action classes"
1220- msgstr ""
1223+ msgstr "Action 类 "
12211224
12221225#: ../../library/argparse.rst:1300
12231226msgid ""
Original file line number Diff line number Diff line change @@ -224,11 +224,11 @@ msgstr "各版本文档"
224224
225225#: ../../tools/templates/indexsidebar.html:5
226226msgid "Python 3.10 (in development)"
227- msgstr ""
227+ msgstr "Python 3.10 (开发中) "
228228
229229#: ../../tools/templates/indexsidebar.html:6
230230msgid "Python 3.9 (pre-release)"
231- msgstr ""
231+ msgstr "Python 3.9 (预览版) "
232232
233233#: ../../tools/templates/indexsidebar.html:7
234234msgid "Python 3.8 (stable)"
You can’t perform that action at this time.
0 commit comments