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

Skip to content

Commit b9da4e0

Browse files
[po] auto sync
1 parent 740fb7f commit b9da4e0

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

library/io.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ msgstr ""
825825
msgid ""
826826
"A :exc:`BlockingIOError` is raised if the underlying raw stream is in non "
827827
"blocking-mode, and has no data available at the moment."
828-
msgstr ""
828+
msgstr ":exc:`BlockingIOError` 会在下层原始流不处于阻塞模式,并且当前没有可用数据时被引发。"
829829

830830
#: ../../library/io.rst:505
831831
msgid ""
@@ -834,25 +834,29 @@ msgid ""
834834
"method. This can be useful if you are implementing your own buffering on "
835835
"top of a :class:`BufferedIOBase` object."
836836
msgstr ""
837+
"通过至多一次对下层流的 :meth:`~RawIOBase.read` (或 :meth:`~RawIOBase.readinto`) "
838+
"方法的调用读取并返回至多 *size* 个字节。 这适用于在 :class:`BufferedIOBase` 对象之上实现你自己的缓冲区的情况。"
837839

838840
#: ../../library/io.rst:511
839841
msgid ""
840842
"If *size* is ``-1`` (the default), an arbitrary number of bytes are returned"
841843
" (more than zero unless EOF is reached)."
842-
msgstr ""
844+
msgstr "如果 *size* 为 ``-1`` (默认值),则返回任意数量的字节(多于零字节,除非已到达 EOF)。"
843845

844846
#: ../../library/io.rst:516
845847
msgid ""
846848
"Read bytes into a pre-allocated, writable :term:`bytes-like object` *b* and "
847849
"return the number of bytes read. For example, *b* might be a "
848850
":class:`bytearray`."
849851
msgstr ""
852+
"将字节数据读入预先分配的可写 :term:`bytes-like object` *b* 并返回所读取的字节数。 例如,*b* 可以是一个 "
853+
":class:`bytearray`。"
850854

851855
#: ../../library/io.rst:520
852856
msgid ""
853857
"Like :meth:`read`, multiple reads may be issued to the underlying raw "
854858
"stream, unless the latter is interactive."
855-
msgstr ""
859+
msgstr "类似于 :meth:`read`,可能对下层原始流发起多次读取,除非后者为交互式。"
856860

857861
#: ../../library/io.rst:528
858862
msgid ""

0 commit comments

Comments
 (0)