@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.11\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2024-09-27 15:27 +0000\n "
14+ "POT-Creation-Date : 2024-10-04 15:24 +0000\n "
1515"PO-Revision-Date : 2023-05-24 02:23+0000\n "
1616"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
1717"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1155,12 +1155,17 @@ msgid ""
11551155":c:func:`PyBytes_FromStringAndSize`, and all the other functions and macros "
11561156"used with strings."
11571157msgstr ""
1158+ "在 C 层级上,Python 3.0 将重命名现有的 8 位字符串类型,从 Python 2.x 中的 "
1159+ ":c:type:`!PyStringObject` 改为 :c:type:`PyBytesObject`。 Python 2.6 使用 "
1160+ "``#define`` 来支持使用 :c:func:`PyBytesObject`, :c:func:`PyBytes_Check`, "
1161+ ":c:func:`PyBytes_FromStringAndSize` 等名称,以及所有用于字符串的其他函数。"
11581162
11591163#: ../../whatsnew/2.6.rst:984
11601164msgid ""
11611165"Instances of the :class:`bytes` type are immutable just as strings are. A "
11621166"new :class:`bytearray` type stores a mutable sequence of bytes::"
11631167msgstr ""
1168+ ":class:`bytes` 类型的实例与字符串一样属于不可变对象。 新增的 :class:`bytearray` 类型则用于存储可变的字节序列::"
11641169
11651170#: ../../whatsnew/2.6.rst:999
11661171msgid ""
@@ -1169,6 +1174,9 @@ msgid ""
11691174" the methods of lists, such as :meth:`append`, :meth:`pop`, and "
11701175":meth:`reverse`."
11711176msgstr ""
1177+ "字节数组支持大部分的字符串类型方法,如 :meth:`startswith`/:meth:`endswith`, "
1178+ ":meth:`find`/:meth:`rfind`,以及列表的某些方法,如 :meth:`append`, :meth:`pop` 和 "
1179+ ":meth:`reverse`。"
11721180
11731181#: ../../whatsnew/2.6.rst:1012
11741182msgid ""
@@ -2457,7 +2465,7 @@ msgstr "(由 Gregory Petrosyan 提供建议,之后由 Georg Brandl 贡献。
24572465msgid ""
24582466"The :func:`attrgetter` function now accepts dotted names and performs the "
24592467"corresponding attribute lookups::"
2460- msgstr ""
2468+ msgstr "现在 :func:`attrgetter` 函数可接受带点号的名称并执行相应的属性查找:: "
24612469
24622470#: ../../whatsnew/2.6.rst:2157
24632471msgid "(Contributed by Georg Brandl, after a suggestion by Barry Warsaw.)"
0 commit comments