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

Skip to content

Commit 36c7641

Browse files
[po] auto sync
1 parent ecfb4af commit 36c7641

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
@@ -12,7 +12,7 @@
1212
# Siyuan Xu <[email protected]>, 2019
1313
# Meng Du <[email protected]>, 2019
1414
# ppcfish <[email protected]>, 2019
15-
# Freesand Leo <[email protected]>, 2019
15+
# Freesand Leo <[email protected]>, 2020
1616
#
1717
#, fuzzy
1818
msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121
"Report-Msgid-Bugs-To: \n"
2222
"POT-Creation-Date: 2020-04-27 13:43+0000\n"
2323
"PO-Revision-Date: 2017-02-16 17:43+0000\n"
24-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
24+
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
2525
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2626
"MIME-Version: 1.0\n"
2727
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1854,6 +1854,9 @@ msgid ""
18541854
" ``__getattr__`` method; consult :ref:`the language reference <attribute-"
18551855
"access>` for more information about controlling attribute access."
18561856
msgstr ""
1857+
"在这里 ``UpperOut`` 类重新定义了 ``write()`` 方法在调用下层的 ``self._outfile.write()`` "
1858+
"方法之前将参数字符串转换为大写形式。 所有其他方法都被委托给下层的 ``self._outfile`` 对象。 委托是通过 "
1859+
"``__getattr__`` 方法来完成的;请参阅 :ref:`语言参考 <attribute-access>` 了解有关控制属性访问的更多信息。"
18571860

18581861
#: ../../faq/programming.rst:1502
18591862
msgid ""

library/io.po

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

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

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

885889
#: ../../library/io.rst:551
886890
msgid ""
887891
"The caller may release or mutate *b* after this method returns, so the "
888892
"implementation should only access *b* during the method call."
889-
msgstr ""
893+
msgstr "调用者可能会在此方法返回后释放或改变 *b*,因此该实现应当仅在方法调用期间访问 *b*。"
890894

891895
#: ../../library/io.rst:556
892896
msgid "Raw File I/O"

0 commit comments

Comments
 (0)