Skip to content

Commit 878662c

Browse files
[po] auto sync
1 parent 0e69f58 commit 878662c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/optparse.po

+4
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)