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

Skip to content

Commit 63a4888

Browse files
[po] auto sync
1 parent 6f9449d commit 63a4888

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.39%", "updated_at": "2024-01-26T03:56:09Z"}
1+
{"translation": "93.40%", "updated_at": "2024-01-26T06:55:40Z"}

c-api/init.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,8 @@ msgid ""
14621462
"``NULL``). If the lock has been created, the current thread must have "
14631463
"acquired it."
14641464
msgstr ""
1465+
"释放全局解释器锁 (如果已创建) 并将线程状态重置为 ``NULL``,返回之前的线程状态 (不为 ``NULL``)。 "
1466+
"如果锁已被创建,则当前线程必须已获取到它。"
14651467

14661468
#: ../../c-api/init.rst:1082
14671469
msgid ""
@@ -1470,6 +1472,8 @@ msgid ""
14701472
"created, the current thread must not have acquired it, otherwise deadlock "
14711473
"ensues."
14721474
msgstr ""
1475+
"获取全局解释器锁 (如果已创建) 并将线程状态设为 *tstate*,它必须不为 ``NULL``。 "
1476+
"如果锁已被创建,则当前线程必须尚未获取它,否则将发生死锁。"
14731477

14741478
#: ../../c-api/init.rst:1088 ../../c-api/init.rst:1134
14751479
#: ../../c-api/init.rst:1416
@@ -1480,13 +1484,18 @@ msgid ""
14801484
" interpreter is in process of being finalized before calling this function "
14811485
"to avoid unwanted termination."
14821486
msgstr ""
1487+
"当运行时正在最终化时从某个线程调用此函数将终结该线程,即使线程不是由 Python 创建的。 你可以在调用此函数之前使用 "
1488+
":c:func:`!_Py_IsFinalizing` 或 :func:`sys.is_finalizing` "
1489+
"来检查解释器是否还处于最终化过程中以避免不必要的终结。"
14831490

14841491
#: ../../c-api/init.rst:1096
14851492
msgid ""
14861493
"Return the current thread state. The global interpreter lock must be held. "
14871494
"When the current thread state is ``NULL``, this issues a fatal error (so "
14881495
"that the caller needn't check for ``NULL``)."
14891496
msgstr ""
1497+
"返回当前线程状态。 全局解释器锁必须被持有。 在当前状态为 ``NULL`` 时,这将发出一个致命错误 (这样调用方将无须检查是否为 "
1498+
"``NULL``)。"
14901499

14911500
#: ../../c-api/init.rst:1103
14921501
msgid ""

0 commit comments

Comments
 (0)