Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit67a9c2f

Browse files
[po] auto sync
1 parentb8febb9 commit67a9c2f

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

‎.stat.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"99.81%","updated_at":"2025-11-05T06:18:13Z"}
1+
{"translation":"99.82%","updated_at":"2025-11-05T07:15:11Z"}

‎whatsnew/2.6.po‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,13 @@ msgid ""
11481148
":meth:`~multiprocessing.managers.SyncManager.Semaphore` to create shared "
11491149
"locks.)"
11501150
msgstr""
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
11531160
msgid""
@@ -1578,6 +1585,8 @@ msgid ""
15781585
"calls the type's :meth:`~object.__format__` method with the provided "
15791586
"specifier::"
15801587
msgstr""
1588+
"还有一个内置函数 :func:`format` 可以格式化单个值。 它会调用类型的 :meth:`~object.__format__` "
1589+
"方法并传入给定的说明符::"
15811590

15821591
#:../../whatsnew/2.6.rst:848
15831592
msgid""
@@ -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."
19301939
msgstr""
1940+
"Python 的内置文件对象支持多种方法,但文件型对象并不一定支持所有这些方法。 例如,模仿文件的对象通常支持 :meth:`!read` 和 "
1941+
":meth:`!write`,但它们可能不支持 :meth:`!readline`。 Python 3.0 在 :mod:`io` "
1942+
"模块中引入了一个分层的 I/O 库,它将缓冲和文本处理特性从基本读写操作中分离出来。"
19311943

19321944
#:../../whatsnew/2.6.rst:1046
19331945
msgid""
@@ -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."
19481960
msgstr""
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
19511970
msgid""
@@ -1961,6 +1980,9 @@ msgid ""
19611980
"adds a :attr:`~io.BufferedIOBase.raw` attribute holding the underlying raw "
19621981
"object."
19631982
msgstr""
1983+
":class:`~io.BufferedIOBase` 是一个抽象基类,它在内存中缓冲数据以减少使用的系统调用次数,使 I/O 处理更为高效。 它支持 "
1984+
":class:`~io.RawIOBase` 的所有方法,并增加了一个 :attr:`~io.BufferedIOBase.raw` "
1985+
"属性用于存放下层的原始对象。"
19641986

19651987
#:../../whatsnew/2.6.rst:1069
19661988
msgid""
@@ -5119,6 +5141,8 @@ msgid ""
51195141
"versions of these built-in functions that can be imported when writing "
51205142
"3.0-compatible code."
51215143
msgstr""
5144+
"Python 3.0 对内置函数库进行了许多更改,大多数更改无法在 Python 2.x 系统中引入因为它们会破坏兼容性。 "
5145+
":mod:`!future_builtins` 模块提供了这些内置函数的不同版本,可以在编写 3.0 兼容的代码时导入。"
51225146

51235147
#:../../whatsnew/2.6.rst:2762
51245148
msgid"The functions in this module currently include:"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp