Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e69f58 commit 878662cCopy full SHA for 878662c
1 file changed
library/optparse.po
@@ -969,6 +969,10 @@ msgid ""
969
"are dealt with in the usual way: raise an exception (either "
970
":exc:`optparse.OptionError` or :exc:`TypeError`) and let the program crash."
971
msgstr ""
972
+":mod:`optparse` 必须考虑两种宽泛的错误类:程序员错误和用户错误。 程序员错误通常是对 "
973
+":func:`OptionParser.add_option` 的错误调用,例如无效的选项字符串,未知的选项属性,不存在的选项属性等等。 "
974
+"这些错误将以通常的方式来处理:引发一个异常 (或者是 :exc:`optparse.OptionError` 或者是 :exc:`TypeError`)"
975
+" 并让程序崩溃。"
976
977
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:715
978
msgid ""
0 commit comments