@@ -292,7 +292,7 @@ msgstr "根据 *ch* 是否为字母数字类字符返回 ``1`` 或 ``0``。"
292
292
msgid ""
293
293
"Return ``1`` or ``0`` depending on whether *ch* is a printable character, in"
294
294
" the sense of :meth:`str.isprintable`."
295
- msgstr ""
295
+ msgstr "根据 *ch* 是否为可打印字符返回 ``1`` 或 ``0``,基于 :meth:`str.isprintable` 来判断。 "
296
296
297
297
#: ../../c-api/unicode.rst:263
298
298
msgid "These APIs can be used for fast direct character conversions:"
@@ -1942,21 +1942,21 @@ msgstr ""
1942
1942
#: ../../c-api/unicode.rst:1401 ../../c-api/unicode.rst:1411
1943
1943
#: ../../c-api/unicode.rst:1432 ../../c-api/unicode.rst:1445
1944
1944
msgid "On error, return ``NULL`` with an exception set."
1945
- msgstr ""
1945
+ msgstr "当失败时,将返回 ``NULL`` 并设置一个异常。 "
1946
1946
1947
1947
#: ../../c-api/unicode.rst:1403
1948
1948
msgid "Equivalent to :py:meth:`str.split`."
1949
- msgstr ""
1949
+ msgstr "等价于 :py:meth:`str.split`。 "
1950
1950
1951
1951
#: ../../c-api/unicode.rst:1408
1952
1952
msgid ""
1953
1953
"Similar to :c:func:`PyUnicode_Split`, but splitting will be done beginning "
1954
1954
"at the end of the string."
1955
- msgstr ""
1955
+ msgstr "类似于 :c:func:`PyUnicode_Split`,但拆分将从字符串末尾开始进行。 "
1956
1956
1957
1957
#: ../../c-api/unicode.rst:1413
1958
1958
msgid "Equivalent to :py:meth:`str.rsplit`."
1959
- msgstr ""
1959
+ msgstr "等价于 :py:meth:`str.rsplit`。 "
1960
1960
1961
1961
#: ../../c-api/unicode.rst:1418
1962
1962
msgid ""
@@ -1974,25 +1974,29 @@ msgid ""
1974
1974
"the part after the separator. If the separator is not found, return a "
1975
1975
"3-tuple containing the string itself, followed by two empty strings."
1976
1976
msgstr ""
1977
+ "在 *sep* 首次出现的位置拆分 Unicode 字符串,并返回一个包含分隔符之前部分、分隔符本身,以及分隔符之后部分的 3 元组。 "
1978
+ "如果分隔符未找到,则返回一个包含字符串本身,后面附带两个空字符串的 3 元组。"
1977
1979
1978
1980
#: ../../c-api/unicode.rst:1430 ../../c-api/unicode.rst:1443
1979
1981
msgid "*sep* must not be empty."
1980
- msgstr ""
1982
+ msgstr "*sep* 必须不为空。 "
1981
1983
1982
1984
#: ../../c-api/unicode.rst:1434
1983
1985
msgid "Equivalent to :py:meth:`str.partition`."
1984
- msgstr ""
1986
+ msgstr "等价于 :py:meth:`str.partition`。 "
1985
1987
1986
1988
#: ../../c-api/unicode.rst:1439
1987
1989
msgid ""
1988
1990
"Similar to :c:func:`PyUnicode_Partition`, but split a Unicode string at the "
1989
1991
"last occurrence of *sep*. If the separator is not found, return a 3-tuple "
1990
1992
"containing two empty strings, followed by the string itself."
1991
1993
msgstr ""
1994
+ "类似于 :c:func:`PyUnicode_Partition`,但会在 *sep* 最后一次出现的位置拆分 Unicode 字符串。 "
1995
+ "如果分隔符未找到,则返回一个包含两个空字符串,后面附带字符串本身的 3 元组。"
1992
1996
1993
1997
#: ../../c-api/unicode.rst:1447
1994
1998
msgid "Equivalent to :py:meth:`str.rpartition`."
1995
- msgstr ""
1999
+ msgstr "等价于 :py:meth:`str.rpartition`。 "
1996
2000
1997
2001
#: ../../c-api/unicode.rst:1452
1998
2002
msgid ""
0 commit comments