Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b0bc99

Browse files
[po] auto sync
1 parent a52d729 commit 6b0bc99

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

library/io.po

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ msgid ""
304304
":class:`RawIOBase` to provide an interface to files in the machine's file "
305305
"system."
306306
msgstr ""
307-
":class:`RawIOBase` ABC 是 :class:`IOBase` 的子类。它负责将字节读取和写入流中。 "
307+
"抽象基类 :class:`RawIOBase` 是 :class:`IOBase` 的子类。它负责将字节读取和写入流中。 "
308308
":class:`RawIOBase` 的子类 :class:`FileIO` 提供计算机文件系统中文件的接口。"
309309

310310
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/io.rst:198
@@ -317,7 +317,7 @@ msgid ""
317317
"streams. Another :class:`BufferedIOBase` subclass, :class:`BytesIO`, is a "
318318
"stream of in-memory bytes."
319319
msgstr ""
320-
":class:`BufferedIOBase` ABC处理原始字节流( :class:`RawIOBase` )上的缓冲。其子类 "
320+
"抽象基类 :class:`BufferedIOBase` 处理原始字节流( :class:`RawIOBase` )上的缓冲。其子类 "
321321
":class:`BufferedWriter` 、 :class:`BufferedReader` 和 :class:`BufferedRWPair` "
322322
"缓冲流是可读、可写以及可读写的。 :class:`BufferedRandom` 为随机访问流提供缓冲接口。 "
323323
":class:`BufferedIOBase` 的另一个子类 :class:`BytesIO` 是内存中字节流。 "
@@ -330,7 +330,7 @@ msgid ""
330330
"text interface to a buffered raw stream (:class:`BufferedIOBase`). Finally, "
331331
":class:`StringIO` is an in-memory stream for text."
332332
msgstr ""
333-
":class:`TextIOBase` ABC是 :class:`IOBase` "
333+
"抽象基类 :class:`TextIOBase` :class:`IOBase` "
334334
"的另一个子类,它处理字节表示文本的流,并处理字符串之间的编码和解码。其一个子类 :class:`TextIOWrapper` 是原始缓冲流( "
335335
":class:`BufferedIOBase` )的缓冲文本接口。另一个子类 :class:`StringIO` 用于文本的内存流。"
336336

@@ -428,7 +428,7 @@ msgstr "I/O 基类"
428428
msgid ""
429429
"The abstract base class for all I/O classes, acting on streams of bytes. "
430430
"There is no public constructor."
431-
msgstr ""
431+
msgstr "所有 I/O 类的抽象基类,作用于字节流。没有公共构造函数。"
432432

433433
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/io.rst:245
434434
msgid ""
@@ -1434,9 +1434,9 @@ msgid ""
14341434
"data."
14351435
msgstr ""
14361436
"即使在用户请求单个字节时,也只读取和写入大块数据。通过该方法,缓冲 I/O 隐藏了操作系统调用和执行无缓冲 I/O "
1437-
"例程时的任何低效性。增益取决于操作系统和执行的 I/O 类型。例如,在某些现代操作系统上(例如Linux),无缓冲磁盘 I/O 可以与缓冲 I/O "
1438-
"一样快。但最重要的是,无论平台和支持设备如何,缓冲 I/O 都能提供可预测的性能。因此,对于二进制数据,几乎总是首选使用缓冲的 I/O 而不是未缓冲的 "
1439-
"I/O 。"
1437+
"例程时的任何低效性。增益取决于操作系统和执行的 I/O 类型。例如,在某些现代操作系统上(例如 Linux),无缓冲磁盘 I/O 可以与缓冲 I/O "
1438+
"一样快。但最重要的是,无论平台和支持设备如何,缓冲 I/O 都能提供可预测的性能。因此,对于二进制数据,应首选使用缓冲的 I/O 而不是未缓冲的 I/O"
1439+
" 。"
14401440

14411441
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/io.rst:1033
14421442
msgid ""
@@ -1498,8 +1498,8 @@ msgid ""
14981498
msgstr ""
14991499
"二进制缓冲对象( :class:`BufferedReader` , :class:`BufferedWriter` , "
15001500
":class:`BufferedRandom` 和 :class:`BufferedRWPair` "
1501-
"的实例)不是可重入的。虽然在正常情况下不会发生可重入调用,但是可能会在 :mod:`signal` 处理程序中执行 I/O "
1502-
"而产生。如果线程尝试重新输入已经访问的缓冲对象,则会引发 :exc:`RuntimeError` 。注意,这并不禁止其他线程进入缓冲对象。"
1501+
"的实例)不是可重入的。虽然在正常情况下不会发生可重入调用,但仍可能会在 :mod:`signal` 处理程序执行 I/O "
1502+
"时产生。如果线程尝试重入已经访问的缓冲对象,则会引发 :exc:`RuntimeError` 。注意,这并不禁止其他线程进入缓冲对象。"
15031503

15041504
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/io.rst:1067
15051505
msgid ""

0 commit comments

Comments
 (0)