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

Skip to content

Commit ab84d0e

Browse files
[po] auto sync
1 parent d937c6c commit ab84d0e

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

faq/programming.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Meng Du <[email protected]>, 2019
1212
# Zhe He <[email protected]>, 2019
1313
# ppcfish <[email protected]>, 2019
14-
# Freesand Leo <[email protected]>, 2019
14+
# Freesand Leo <[email protected]>, 2020
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2020-04-27 13:44+0000\n"
2222
"PO-Revision-Date: 2019-09-01 02:43+0000\n"
23-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
23+
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1860,6 +1860,9 @@ msgid ""
18601860
" ``__getattr__`` method; consult :ref:`the language reference <attribute-"
18611861
"access>` for more information about controlling attribute access."
18621862
msgstr ""
1863+
"在这里 ``UpperOut`` 类重新定义了 ``write()`` 方法在调用下层的 ``self._outfile.write()`` "
1864+
"方法之前将参数字符串转换为大写形式。 所有其他方法都被委托给下层的 ``self._outfile`` 对象。 委托是通过 "
1865+
"``__getattr__`` 方法来完成的;请参阅 :ref:`语言参考 <attribute-access>` 了解有关控制属性访问的更多信息。"
18631866

18641867
#: ../../faq/programming.rst:1509
18651868
msgid ""

library/io.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,8 @@ msgid ""
831831
":meth:`~RawIOBase.read` (or :meth:`~RawIOBase.readinto`) method. Return the "
832832
"number of bytes read."
833833
msgstr ""
834+
"将字节数据读入预先分配的可写 :term:`bytes-like object` *b*,其中至多使用一次对下层原始流 "
835+
":meth:`~RawIOBase.read` (或 :meth:`~RawIOBase.readinto`) 方法的调用。 返回所读取的字节数。"
834836

835837
#: ../../library/io.rst:519
836838
msgid ""
@@ -840,19 +842,21 @@ msgid ""
840842
"implementation, these bytes may be readily written to the underlying stream,"
841843
" or held in a buffer for performance and latency reasons."
842844
msgstr ""
845+
"写入给定的 :term:`bytes-like object` *b*,并返回写入的字节数 (总是等于 *b* 的字节长度,因为如果写入失败则会引发 "
846+
":exc:`OSError`)。 根据具体实现的不同,这些字节可能被实际写入下层流,或是出于运行效率和冗余等考虑而暂存于缓冲区。"
843847

844848
#: ../../library/io.rst:526
845849
msgid ""
846850
"When in non-blocking mode, a :exc:`BlockingIOError` is raised if the data "
847851
"needed to be written to the raw stream but it couldn't accept all the data "
848852
"without blocking."
849-
msgstr ""
853+
msgstr "当处于非阻塞模式时,如果需要将数据写入原始流但它无法在不阻塞的情况下接受所有数据则将引发 :exc:`BlockingIOError`。"
850854

851855
#: ../../library/io.rst:530
852856
msgid ""
853857
"The caller may release or mutate *b* after this method returns, so the "
854858
"implementation should only access *b* during the method call."
855-
msgstr ""
859+
msgstr "调用者可能会在此方法返回后释放或改变 *b*,因此该实现应当仅在方法调用期间访问 *b*。"
856860

857861
#: ../../library/io.rst:535
858862
msgid "Raw File I/O"

0 commit comments

Comments
 (0)