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

Appearance settings

Commit 878662c

Browse filesBrowse files
[po] auto sync
1 parent 0e69f58 commit 878662c
Copy full SHA for 878662c

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎library/optparse.po

Copy file name to clipboardExpand all lines: library/optparse.po
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,10 @@ msgid ""
969969
"are dealt with in the usual way: raise an exception (either "
970970
":exc:`optparse.OptionError` or :exc:`TypeError`) and let the program crash."
971971
msgstr ""
972+
":mod:`optparse` 必须考虑两种宽泛的错误类:程序员错误和用户错误。 程序员错误通常是对 "
973+
":func:`OptionParser.add_option` 的错误调用,例如无效的选项字符串,未知的选项属性,不存在的选项属性等等。 "
974+
"这些错误将以通常的方式来处理:引发一个异常 (或者是 :exc:`optparse.OptionError` 或者是 :exc:`TypeError`)"
975+
" 并让程序崩溃。"
972976

973977
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:715
974978
msgid ""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.