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" : " 92.70%" , "updated_at" : " 2023-12-08T01:19:14Z " }
1+ {"translation" : " 92.70%" , "updated_at" : " 2023-12-08T02:08:47Z " }
Original file line number Diff line number Diff line change @@ -1946,6 +1946,11 @@ msgid ""
19461946"talk about references, think of this function as reference-neutral; you own "
19471947"the object after the call if and only if you owned it before the call.)"
19481948msgstr ""
1949+ "原地内部化参数 *\\ *string*。 该参数必须是一个指向 Python Unicode 字符串对象的指针变量的地址。 如果已存在与 "
1950+ "*\\ *string* 相同的内部字符串,则将其设为 *\\ *string* (释放对旧字符串对象的引用并新建一个指向内部字符串对象的 "
1951+ ":term:`strong reference`),否则将保持 *\\ *string* 不变并将其内部化 (新建一个 :term:`strong "
1952+ "reference`)。 "
1953+ "(澄清说明:虽然这里大量提及了引用,但请将此函数视为引用无关的;当且仅当你在调用之前就已拥有该对象时你才会在调用之后也拥有它。)"
19491954
19501955#: ../../c-api/unicode.rst:1458
19511956msgid ""
@@ -1954,3 +1959,5 @@ msgid ""
19541959"object that has been interned, or a new (\" owned\" ) reference to an earlier "
19551960"interned string object with the same value."
19561961msgstr ""
1962+ ":c:func:`PyUnicode_FromString` 和 :c:func:`PyUnicode_InternInPlace` "
1963+ "的组合操作,返回一个已内部化的新 Unicode 字符串对象,或一个指向具有相同值的原有内部化字符串对象的新的(“拥有的”)引用。"
You can’t perform that action at this time.
0 commit comments