Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit048b6e9

Browse files
[po] auto sync
1 parent7db2a6c commit048b6e9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎library/optparse.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,32 +1708,39 @@ msgid ""
17081708
" OptionParser's constructor and the :attr:`~Option.help` string passed to "
17091709
"every option."
17101710
msgstr""
1711+
"为当前选项解析器中所有的选项打印完整帮助消息。 该帮助消息是由传给 OptionParser 的构造器的 ``usage`` 字符串和传给每个选项的 "
1712+
":attr:`~Option.help` 字符串构造而成的。"
17111713

17121714
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1233
17131715
msgid""
17141716
"If no :attr:`~Option.help` string is supplied for an option, it will still "
17151717
"be listed in the help message. To omit an option entirely, use the special "
17161718
"value :data:`optparse.SUPPRESS_HELP`."
17171719
msgstr""
1720+
"如果没有为某个选项提供 :attr:`~Option.help` 字符串,它仍将在帮助消息中列出。 要完全略去某个选项,请使用特殊值 "
1721+
":data:`optparse.SUPPRESS_HELP`。"
17181722

17191723
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1237
17201724
msgid""
17211725
":mod:`optparse` automatically adds a :attr:`~Option.help` option to all "
17221726
"OptionParsers, so you do not normally need to create one."
17231727
msgstr""
1728+
":mod:`optparse` 将自动为所有OptionParser 添加 :attr:`~Option.help` 选项,因此你通常不需要创建选项。"
17241729

17251730
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1255
17261731
msgid""
17271732
"If :mod:`optparse` sees either ``-h`` or ``--help`` on the command line, it "
17281733
"will print something like the following help message to stdout (assuming "
17291734
"``sys.argv[0]`` is ``\"foo.py\"``):"
17301735
msgstr""
1736+
"如果 :mod:`optparse` 在命令行中看到 ``-h`` 或 ``--help``,它将将类似下面这样的帮助消息打印到 stdout (假设 "
1737+
"``sys.argv[0]`` 为 ``\"foo.py\"``):"
17311738

17321739
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1268
17331740
msgid""
17341741
"After printing the help message, :mod:`optparse` terminates your process "
17351742
"with ``sys.exit(0)``."
1736-
msgstr""
1743+
msgstr"在打印帮助消息之后,:mod:`optparse` 将使用 ``sys.exit(0)`` 来终结你的进程。"
17371744

17381745
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1271
17391746
msgid"``\"version\"``"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp