8000 [po] auto sync · python/python-docs-zh-cn@726d536 · GitHub
[go: up one dir, main page]

Skip to content

Commit 726d536

Browse files
[po] auto sync
1 parent 57f5a6a commit 726d536

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.99%", "updated_at": "2024-01-24T08:09:58Z"}
1+
{"translation": "89.99%", "updated_at": "2024-01-24T16:10:13Z"}

c-api/init.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,8 @@ msgid ""
14951495
"same process and perhaps even in the same thread. Sub-interpreters allow you"
14961496
" to do that."
14971497
msgstr ""
1498+
"虽然在大多数用例中,你都只会嵌入一个单独的 Python 解释器,但某些场景需要你在同一个进程甚至同一个线程中创建多个独立的解释器。 "
1499+
"子解释器让你能够做到这一点。"
14981500

14991501
#: ../../c-api/init.rst:1179
15001502
msgid ""
@@ -1506,13 +1508,16 @@ msgid ""
15061508
"runtime finalization. The :c:func:`PyInterpreterState_Main` function "
15071509
"returns a pointer to its state."
15081510
msgstr ""
1511+
"“主”解释器是在运行时初始化时创建的第一个解释器。 它通常是一个进程中唯一的 Python 解释器。 "
1512+
"与子解释器不同,主解释器具有唯一的进程全局责任比如信号处理等。 它还负责在运行时初始化期间的执行并且通常还是运行时最终化期间的活动解释器。 "
1513+
":c:func:`PyInterpreterState_Main` 函数将返回一个指向其状态的指针。"
15091514

15101515
#: ../../c-api/init.rst:1186
15111516
msgid ""
15121517
"You can switch between sub-interpreters using the "
15131518
":c:func:`PyThreadState_Swap` function. You can create and destroy them using"
15141519
" the following functions:"
1515-
msgstr ""
1520+
msgstr "你可以使用 :c:func:`PyThreadState_Swap` 函数在子解释器之间进行切换。 你可以使用下列函数来创建和销毁它们:"
15161521

15171522
#: ../../c-api/init.rst:1200
15181523
msgid ""

0 commit comments

Comments
 (0)
0