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

Skip to content

Commit e7d1dc8

Browse files
[po] auto sync
1 parent ff8abe0 commit e7d1dc8

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.35%", "updated_at": "2024-01-24T15:55:55Z"}
1+
{"translation": "93.36%", "updated_at": "2024-01-25T06:55:54Z"}

c-api/init.po

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,13 +2033,15 @@ msgstr "使用(共享)主解释器的 GIL。"
20332033

20342034
#: ../../c-api/init.rst:1580
20352035
msgid "Use the sub-interpreter's own GIL."
2036-
msgstr ""
2036+
msgstr "使用子解释器自己的 GIL。"
20372037

20382038
#: ../../c-api/init.rst:1582
20392039
msgid ""
20402040
"If this is :c:macro:`PyInterpreterConfig_OWN_GIL` then "
20412041
":c:member:`PyInterpreterConfig.use_main_obmalloc` must be ``0``."
20422042
msgstr ""
2043+
"如果该值为 :c:macro:`PyInterpreterConfig_OWN_GIL` 则 "
2044+
":c:member:`PyInterpreterConfig.use_main_obmalloc` 必须为 ``0``。"
20432045

20442046
#: ../../c-api/init.rst:1596
20452047
msgid ""
@@ -2053,12 +2055,17 @@ msgid ""
20532055
"``sys.stdin``, ``sys.stdout`` and ``sys.stderr`` (however these refer to the"
20542056
" same underlying file descriptors)."
20552057
msgstr ""
2058+
"新建一个子解释器。 这是一个 (几乎) 完全隔离的 Python 代码执行环境。 "
2059+
"特别需要注意,新的子解释器具有全部已导入模块的隔离的、独立的版本,包括基本模块 :mod:`builtins`, :mod:`__main__` 和 "
2060+
":mod:`sys` 等。 已加载模块表 (``sys.modules``) 和模块搜索路径 (``sys.path``) 也是隔离的。 新环境没有 "
2061+
"``sys.argv`` 变量。 它具有新的标准 I/O 流文件对象 ``sys.stdin``, ``sys.stdout`` 和 "
2062+
"``sys.stderr`` (不过这些对象都指向相同的底层文件描述符)。"
20562063

20572064
#: ../../c-api/init.rst:1606
20582065
msgid ""
20592066
"The given *config* controls the options with which the interpreter is "
20602067
"initialized."
2061-
msgstr ""
2068+
msgstr "给定的 *config* 控制着初始化解释器所使用的选项。"
20622069

20632070
#: ../../c-api/init.rst:1609
20642071
msgid ""
@@ -2070,6 +2077,9 @@ msgid ""
20702077
" is stored in the current thread state and there may not be a current thread"
20712078
" state."
20722079
msgstr ""
2080+
"成功后,*tstate_p* 将被设为新的子解释器中创建的第一个线程状态。该线程状态是在当前线程状态中创建的。 "
2081+
"请注意并没有真实的线程被创建;请参阅下文有关线程状态的讨论。 如果创建新的解释器没有成功,则 *tstate_p* 将被设为 "
2082+
"``NULL``;不会设置任何异常因为异常状态是存储在当前的线程状态中而当前线程状态并不一定存在。"
20732083

20742084
#: ../../c-api/init.rst:1618
20752085
msgid ""

0 commit comments

Comments
 (0)