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

Skip to content

Commit bfdb790

Browse files
[po] auto sync
1 parent 07b3dc8 commit bfdb790

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.stat.json

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

c-api/init.po

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

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

16081613
#: ../../c-api/init.rst:1274
16091614
msgid ""
16101615
"You can switch between sub-interpreters using the "
16111616
":c:func:`PyThreadState_Swap` function. You can create and destroy them using"
16121617
" the following functions:"
1613-
msgstr ""
1618+
msgstr "你可以使用 :c:func:`PyThreadState_Swap` 函数在子解释器之间进行切换。 你可以使用下列函数来创建和销毁它们:"
16141619

16151620
#: ../../c-api/init.rst:1288
16161621
msgid ""

0 commit comments

Comments
 (0)