File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 90.50 %" , "updated_at" : " 2024-01-19T00:29:17Z " }
1+ {"translation" : " 90.51 %" , "updated_at" : " 2024-01-19T09:23:10Z " }
Original file line number Diff line number Diff line change @@ -1035,7 +1035,7 @@ msgstr "高阶 API"
10351035msgid ""
10361036"These are the most commonly used types and functions when writing C "
10371037"extension code, or when embedding the Python interpreter:"
1038- msgstr ""
1038+ msgstr "这些是在编写 C 扩展代码或在嵌入 Python 解释器时最常用的类型和函数: "
10391039
10401040#: ../../c-api/init.rst:819
10411041msgid ""
@@ -1082,18 +1082,20 @@ msgstr "该函数现在由 :c:func:`Py_Initialize()` 调用,因此你无需再
10821082#: ../../c-api/init.rst:856
10831083msgid ""
10841084"This function cannot be called before :c:func:`Py_Initialize()` anymore."
1085- msgstr ""
1085+ msgstr "此函数已不再被允许在 :c:func:`Py_Initialize()` 之前调用。 "
10861086
10871087#: ../../c-api/init.rst:866
10881088msgid ""
10891089"Returns a non-zero value if :c:func:`PyEval_InitThreads` has been called. "
10901090"This function can be called without holding the GIL, and therefore can be "
10911091"used to avoid calls to the locking API when running single-threaded."
10921092msgstr ""
1093+ "如果 :c:func:`PyEval_InitThreads` 已经被调用则返回非零值。 此函数可在不持有 GIL "
1094+ "的情况下被调用,因而可被用来避免在单线程运行时对加锁 API 的调用。"
10931095
10941096#: ../../c-api/init.rst:870
10951097msgid "The :term:`GIL` is now initialized by :c:func:`Py_Initialize()`."
1096- msgstr ""
1098+ msgstr "现在 :term:`GIL` 将由 :c:func:`Py_Initialize()` 来初始化。 "
10971099
10981100#: ../../c-api/init.rst:878
10991101msgid ""
You can’t perform that action at this time.
0 commit comments