@@ -2572,19 +2572,20 @@ msgstr "返回主解释器状态对象。"
25722572msgid ""
25732573"Return the next interpreter state object after *interp* from the list of all"
25742574" such objects."
2575- msgstr ""
2575+ msgstr "从由解释器状态对象组成的列表中返回 *interp* 之后的下一项。 "
25762576
25772577#: ../../c-api/init.rst:2029
25782578msgid ""
25792579"Return the pointer to the first :c:type:`PyThreadState` object in the list "
25802580"of threads associated with the interpreter *interp*."
2581- msgstr ""
2581+ msgstr "在由与解释器 *interp* 相关联的线程组成的列表中返回指向第一个 :c:type:`PyThreadState` 对象的指针。 "
25822582
25832583#: ../../c-api/init.rst:2035
25842584msgid ""
25852585"Return the next thread state object after *tstate* from the list of all such"
25862586" objects belonging to the same :c:type:`PyInterpreterState` object."
25872587msgstr ""
2588+ "从由属于同一个 :c:type:`PyInterpreterState` 对象的线程状态对象组成的列表中返回 *tstate* 之后的下一项。"
25882589
25892590#: ../../c-api/init.rst:2042
25902591msgid "Thread Local Storage Support"
@@ -2657,14 +2658,16 @@ msgstr ""
26572658
26582659#: ../../c-api/init.rst:2097
26592660msgid "Dynamic Allocation"
2660- msgstr ""
2661+ msgstr "动态分配 "
26612662
26622663#: ../../c-api/init.rst:2099
26632664msgid ""
26642665"Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules "
26652666"built with :ref:`Py_LIMITED_API <stable>`, where static allocation of this "
26662667"type is not possible due to its implementation being opaque at build time."
26672668msgstr ""
2669+ ":c:type:`Py_tss_t` 的动态分配,在使用 :ref:`Py_LIMITED_API <stable>` "
2670+ "编译的扩展模块中是必须的,在这些模块由于此类型的实现在编译时是不透明的因此它不可能静态分配。"
26682671
26692672#: ../../c-api/init.rst:2106
26702673msgid ""
@@ -2697,12 +2700,17 @@ msgid ""
26972700"undefined if the given :c:type:`Py_tss_t` has not been initialized by "
26982701":c:func:`PyThread_tss_create`."
26992702msgstr ""
2703+ "这些函数的形参 *key* 不可为 ``NULL``。 并且,如果给定的 :c:type:`Py_tss_t` 还未被 "
2704+ ":c:func:`PyThread_tss_create` 初始化则 :c:func:`PyThread_tss_set` 和 "
2705+ ":c:func:`PyThread_tss_get` 的行为将是未定义的。"
27002706
27012707#: ../../c-api/init.rst:2134
27022708msgid ""
27032709"Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized"
27042710" by :c:func:`PyThread_tss_create`."
27052711msgstr ""
2712+ "如果给定的 :c:type:`Py_tss_t` 已通过has been initialized by "
2713+ ":c:func:`PyThread_tss_create` 被初始化则返回一个非零值。"
27062714
27072715#: ../../c-api/init.rst:2140
27082716msgid ""
0 commit comments