Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 646f88c

Browse files
[po] auto sync
1 parent a62c9fb commit 646f88c

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

library/sys.po

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,6 +2412,7 @@ msgid ""
24122412
"the preferred way to do this is to explicitly save the previous stream "
24132413
"before replacing it, and restore the saved object."
24142414
msgstr ""
2415+
"如果实际文件已经被覆盖成一个损坏的对象了,那它也可用于将实际文件还原成能正常工作的文件对象。但是,本过程的最佳方法应该是,在原来的流被替换之前就显式地保存它,并使用这一保存的对象来还原。"
24152416

24162417
#: ../../library/sys.rst:1505
24172418
msgid ""
@@ -2420,11 +2421,14 @@ msgid ""
24202421
"``None``. It is usually the case for Windows GUI apps that aren't connected "
24212422
"to a console and Python apps started with :program:`pythonw`."
24222423
msgstr ""
2424+
"某些情况下的 ``stdin``、``stdout`` 和 ``stderr`` 以及初始值 ``__stdin__``、``__stdout__`` "
2425+
"和 ``__stderr__`` 可以是 ``None``。通常发生在未连接到控制台的 Windows GUI app 中,以及在用 "
2426+
":program:`pythonw` 启动的 Python app 中。"
24232427

24242428
#: ../../library/sys.rst:1513
24252429
msgid ""
24262430
"A :term:`named tuple` holding information about the thread implementation."
2427-
msgstr ""
2431+
msgstr "一个 :term:`具名元组 <named tuple>`,包含线程实现的信息。"
24282432

24292433
#: ../../library/sys.rst:1521
24302434
msgid ":const:`name`"
@@ -2484,21 +2488,25 @@ msgid ""
24842488
"traceback information is suppressed and only the exception type and value "
24852489
"are printed."
24862490
msgstr ""
2491+
"当该变量值设置为整数,在发生未处理的异常时,它将决定打印的回溯信息的最大层级数。默认为 ``1000``。当将其设置为 ``0`` 或小于 "
2492+
"0,将关闭所有回溯信息,并且只打印异常类型和异常值。"
24872493

24882494
#: ../../library/sys.rst:1551
24892495
msgid "Handle an unraisable exception."
2490-
msgstr ""
2496+
msgstr "处理一个无法抛出的异常。"
24912497

24922498
#: ../../library/sys.rst:1553
24932499
msgid ""
24942500
"Called when an exception has occurred but there is no way for Python to "
24952501
"handle it. For example, when a destructor raises an exception or during "
24962502
"garbage collection (:func:`gc.collect`)."
24972503
msgstr ""
2504+
"它会在发生了一个异常但 Python 没有办法处理时被调用。例如,当一个析构器引发了异常,或在垃圾回收 (:func:`gc.collect`) "
2505+
"期间引发了异常。"
24982506

24992507
#: ../../library/sys.rst:1557
25002508
msgid "The *unraisable* argument has the following attributes:"
2501-
msgstr ""
2509+
msgstr "*unraisable* 参数具有以下属性:"
25022510

25032511
#: ../../library/sys.rst:1559
25042512
msgid "*exc_type*: Exception type."

0 commit comments

Comments
 (0)