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

Skip to content

Commit 28924c1

Browse files
[po] auto sync
1 parent ffabaf4 commit 28924c1

2 files changed

Lines changed: 6 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": "90.69%", "updated_at": "2024-01-27T05:22:22Z"}
1+
{"translation": "90.70%", "updated_at": "2024-01-27T09:20:40Z"}

c-api/init.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,6 +1535,8 @@ msgid ""
15351535
"state is available. If this function returns ``NULL``, no exception has been"
15361536
" raised and the caller should assume no current thread state is available."
15371537
msgstr ""
1538+
"返回一个扩展可以在其中存储线程专属状态信息的字典。 每个扩展都应当使用一个独有的键用来在该字典中存储状态。 在没有可用的当前线程状态时也可以调用此函数。"
1539+
" 如果此函数返回 ``NULL``,则还没有任何异常被引发并且调用方应当假定没有可用的当前线程状态。"
15381540

15391541
#: ../../c-api/init.rst:1178
15401542
msgid ""
@@ -1560,13 +1562,16 @@ msgid ""
15601562
"*tstate*, which must not be ``NULL``. The lock must have been created "
15611563
"earlier. If this thread already has the lock, deadlock ensues."
15621564
msgstr ""
1565+
"获取全局解释器锁并将当前线程状态设为 *tstate*,它必须不为 ``NULL``。 锁必须在此之前已被创建。 如果该线程已获取锁,则会发生死锁。"
15631566

15641567
#: ../../c-api/init.rst:1203 ../../c-api/init.rst:1241
15651568
msgid ""
15661569
"Updated to be consistent with :c:func:`PyEval_RestoreThread`, "
15671570
":c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`, and "
15681571
"terminate the current thread if called while the interpreter is finalizing."
15691572
msgstr ""
1573+
"已被更新为与 :c:func:`PyEval_RestoreThread`, :c:func:`Py_END_ALLOW_THREADS` 和 "
1574+
":c:func:`PyGILState_Ensure` 保持一致,如果在解释器正在最终化时被调用则会终结当前线程。"
15701575

15711576
#: ../../c-api/init.rst:1208
15721577
msgid ""

0 commit comments

Comments
 (0)