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" : " 93.38%" , "updated_at" : " 2024-01-25T13:56:02Z " }
1+ {"translation" : " 93.38%" , "updated_at" : " 2024-01-25T14:55:51Z " }
Original file line number Diff line number Diff line change @@ -2675,19 +2675,22 @@ msgid ""
26752675":c:macro:`Py_tss_NEEDS_INIT`, or ``NULL`` in the case of dynamic allocation "
26762676"failure."
26772677msgstr ""
2678+ "返回一个与使用 :c:macro:`Py_tss_NEEDS_INIT` 初始化的值的状态相同的值,或者当动态分配失败时则返回 ``NULL``。"
26782679
26792680#: ../../c-api/init.rst:2113
26802681msgid ""
26812682"Free the given *key* allocated by :c:func:`PyThread_tss_alloc`, after first "
26822683"calling :c:func:`PyThread_tss_delete` to ensure any associated thread locals"
26832684" have been unassigned. This is a no-op if the *key* argument is ``NULL``."
26842685msgstr ""
2686+ "在首次调用 :c:func:`PyThread_tss_delete` 以确保任何相关联的线程局部变量已被撤销赋值之后释放由 "
2687+ ":c:func:`PyThread_tss_alloc` 所分配的给定的 *key*。 如果 *key* 参数为 ``NULL`` 则这将无任何操作。"
26852688
26862689#: ../../c-api/init.rst:2119
26872690msgid ""
26882691"A freed key becomes a dangling pointer. You should reset the key to "
26892692"``NULL``."
2690- msgstr ""
2693+ msgstr "被释放的 key 将变成一个悬空指针。 你应当将 key 重置为 ``NULL``。 "
26912694
26922695#: ../../c-api/init.rst:2124
26932696msgid "Methods"
You can’t perform that action at this time.
0 commit comments