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.67 %" , "updated_at" : " 2023-12-06T15:55:44Z " }
1+ {"translation" : " 92.68 %" , "updated_at" : " 2023-12-07T02:08:15Z " }
Original file line number Diff line number Diff line change @@ -1831,6 +1831,9 @@ msgid ""
18311831"match; a value of ``-1`` indicates that no match was found, and ``-2`` "
18321832"indicates that an error occurred and an exception has been set."
18331833msgstr ""
1834+ "返回使用给定的 *direction* (*direction* == ``1`` 表示前向搜索,*direction* == ``-1`` "
1835+ "表示后向搜索) 时 *substr* 在 ``str[start:end]`` 中首次出现的位置。 返回值为首个匹配的索引号;值为 ``-1`` "
1836+ "表示未找到匹配,``-2`` 则表示发生错误并设置了异常。"
18341837
18351838#: ../../c-api/unicode.rst:1370
18361839msgid ""
@@ -1840,16 +1843,19 @@ msgid ""
18401843"the first match; a value of ``-1`` indicates that no match was found, and "
18411844"``-2`` indicates that an error occurred and an exception has been set."
18421845msgstr ""
1846+ "返回使用给定的 *direction* (*direction* == ``1`` 表示前向搜索,*direction* == ``-1`` "
1847+ "表示后向搜索) 时字符 *ch* 在 ``str[start:end]`` 中首次出现的位置。 返回值为首个匹配的索引号;值为 ``-1`` "
1848+ "表示未找到匹配,``-2`` 则表示发生错误并设置了异常。"
18431849
18441850#: ../../c-api/unicode.rst:1378
18451851msgid "*start* and *end* are now adjusted to behave like ``str[start:end]``."
1846- msgstr ""
1852+ msgstr "现在 *start* 和 *end* 被调整为与 ``str[start:end]`` 类似的行为。 "
18471853
18481854#: ../../c-api/unicode.rst:1385
18491855msgid ""
18501856"Return the number of non-overlapping occurrences of *substr* in "
18511857"``str[start:end]``. Return ``-1`` if an error occurred."
1852- msgstr ""
1858+ msgstr "返回 *substr* 在 ``str[start:end]`` 中不重叠出现的次数。 如果发生错误则返回 ``-1``。 "
18531859
18541860#: ../../c-api/unicode.rst:1392
18551861msgid ""
You can’t perform that action at this time.
0 commit comments