@@ -1148,6 +1148,13 @@ msgid ""
11481148":meth:`~multiprocessing.managers.SyncManager.Semaphore` to create shared "
11491149"locks.)"
11501150msgstr ""
1151+ "另一个高层级的接口,:class:`~multiprocessing.Manager` 类,将创建一个单独的可以拥有 Python "
1152+ "数据结构的主副本的服务器进程。 之后其他的进程可以使用代理对象来访问和修改这些数据结构。 以下示例通过调用 :meth:`dict` "
1153+ "方法创建了一个共享字典;随后工作进程可将值插入到字典中。 (不会自动为你执行锁定,这在本示例中无关紧要。 "
1154+ ":class:`~multiprocessing.Manager` 的方法还包括 "
1155+ ":meth:`~multiprocessing.managers.SyncManager.Lock`, "
1156+ ":meth:`~multiprocessing.managers.SyncManager.RLock` 和 "
1157+ ":meth:`~multiprocessing.managers.SyncManager.Semaphore` 用于创建共享锁。)"
11511158
11521159#: ../../whatsnew/2.6.rst:669
11531160msgid ""
@@ -1578,6 +1585,8 @@ msgid ""
15781585"calls the type's :meth:`~object.__format__` method with the provided "
15791586"specifier::"
15801587msgstr ""
1588+ "还有一个内置函数 :func:`format` 可以格式化单个值。 它会调用类型的 :meth:`~object.__format__` "
1589+ "方法并传入给定的说明符::"
15811590
15821591#: ../../whatsnew/2.6.rst:848
15831592msgid ""
@@ -1928,6 +1937,9 @@ msgid ""
19281937" in the :mod:`io` module that separates buffering and text-handling features"
19291938" from the fundamental read and write operations."
19301939msgstr ""
1940+ "Python 的内置文件对象支持多种方法,但文件型对象并不一定支持所有这些方法。 例如,模仿文件的对象通常支持 :meth:`!read` 和 "
1941+ ":meth:`!write`,但它们可能不支持 :meth:`!readline`。 Python 3.0 在 :mod:`io` "
1942+ "模块中引入了一个分层的 I/O 库,它将缓冲和文本处理特性从基本读写操作中分离出来。"
19311943
19321944#: ../../whatsnew/2.6.rst:1046
19331945msgid ""
@@ -1946,6 +1958,13 @@ msgid ""
19461958":meth:`~io.IOBase.writable`, and :meth:`~io.IOBase.seekable` methods for "
19471959"determining what operations a given object will allow."
19481960msgstr ""
1961+ ":class:`~io.RawIOBase` 定义了原始 I/O 操作: :meth:`~io.RawIOBase.read`, "
1962+ ":meth:`~io.RawIOBase.readinto`, :meth:`~io.RawIOBase.write`, "
1963+ ":meth:`~io.IOBase.seek`, :meth:`~io.IOBase.tell`, "
1964+ ":meth:`~io.IOBase.truncate` 和 :meth:`~io.IOBase.close`。 "
1965+ "这个类的大多数方法通常会映射到单个系统调用。 还有 :meth:`~io.IOBase.readable`, "
1966+ ":meth:`~io.IOBase.writable` 和 :meth:`~io.IOBase.seekable` "
1967+ "等方法用于确定给定的对象允许哪些操作。"
19491968
19501969#: ../../whatsnew/2.6.rst:1058
19511970msgid ""
@@ -1961,6 +1980,9 @@ msgid ""
19611980"adds a :attr:`~io.BufferedIOBase.raw` attribute holding the underlying raw "
19621981"object."
19631982msgstr ""
1983+ ":class:`~io.BufferedIOBase` 是一个抽象基类,它在内存中缓冲数据以减少使用的系统调用次数,使 I/O 处理更为高效。 它支持 "
1984+ ":class:`~io.RawIOBase` 的所有方法,并增加了一个 :attr:`~io.BufferedIOBase.raw` "
1985+ "属性用于存放下层的原始对象。"
19641986
19651987#: ../../whatsnew/2.6.rst:1069
19661988msgid ""
@@ -5119,6 +5141,8 @@ msgid ""
51195141"versions of these built-in functions that can be imported when writing "
51205142"3.0-compatible code."
51215143msgstr ""
5144+ "Python 3.0 对内置函数库进行了许多更改,大多数更改无法在 Python 2.x 系统中引入因为它们会破坏兼容性。 "
5145+ ":mod:`!future_builtins` 模块提供了这些内置函数的不同版本,可以在编写 3.0 兼容的代码时导入。"
51225146
51235147#: ../../whatsnew/2.6.rst:2762
51245148msgid "The functions in this module currently include:"