Skip to content

Commit 1f83896

Browse files
[po] auto sync
1 parent f3a6ba8 commit 1f83896

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

library/optparse.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ msgstr "创建解析器"
10441044
msgid ""
10451045
"The first step in using :mod:`optparse` is to create an OptionParser "
10461046
"instance."
1047-
msgstr ""
1047+
msgstr "使用 :mod:`optparse` 的第一步是创建 OptionParser 实例。"
10481048

10491049
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:805
10501050
msgid ""
@@ -1053,6 +1053,7 @@ msgid ""
10531053
"arguments, i.e. do not rely on the order in which the arguments are "
10541054
"declared."
10551055
msgstr ""
1056+
"OptionParser 构造器没有必需的参数,只有一些可选的关键字参数。 你应当始终以关键字参数形式传入它们,即不要依赖于声明参数所在位置的顺序。"
10561057

10571058
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:814
10581059
msgid "``usage`` (default: ``\"%prog [options]\"``)"
@@ -1066,6 +1067,9 @@ msgid ""
10661067
" that keyword argument). To suppress a usage message, pass the special "
10671068
"value :data:`optparse.SUPPRESS_USAGE`."
10681069
msgstr ""
1070+
"当你的程序不正确地运行或附带 help 选项运行时将打印的用法说明。 当 :mod:`optparse` 打印用法字符串时,它会将 ``%prog`` "
1071+
"扩展为 ``os.path.basename(sys.argv[0])`` (或者如果你传入 ``prog`` 则为该关键字参数值)。 "
1072+
"要屏蔽用法说明,请传入特殊值 :data:`optparse.SUPPRESS_USAGE`。"
10691073

10701074
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:821
10711075
msgid "``option_list`` (default: ``[]``)"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy