88# Meng Du <[email protected] >, 201999# Wu Pipi, 2019
1010# zkonge <[email protected] >, 201911- # Freesand Leo <[email protected] >, 20201211# ppcfish <[email protected] >, 20201312# Shengjing Zhu <[email protected] >, 202013+ # Freesand Leo <[email protected] >, 20201414#
1515#, fuzzy
1616msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919"Report-Msgid-Bugs-To : \n "
2020"POT-Creation-Date : 2020-02-09 12:40+0000\n "
2121"PO-Revision-Date : 2017-02-16 23:15+0000\n "
22- "Last-Translator : Shengjing Zhu <zsj950618@gmail .com>, 2020\n "
22+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2020\n "
2323"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2424"MIME-Version : 1.0\n "
2525"Content-Type : text/plain; charset=UTF-8\n "
@@ -625,6 +625,8 @@ msgid ""
625625"the contents of the new file area depend on the platform (on most systems, "
626626"additional bytes are zero-filled). The new file size is returned."
627627msgstr ""
628+ "将流的大小调整为给定的 *size* 个字节(如果未指定 *size* 则调整至当前位置)。 当前的流位置不变。 这个调整操作可扩展或减小当前文件大小。"
629+ " 在扩展的情况下,新文件区域的内容取决于具体平台(在大多数系统上,额外的字节会填充为零)。 返回新的文件大小。"
628630
629631#: ../../library/io.rst:371
630632msgid "Windows will now zero-fill files when extending."
@@ -635,32 +637,37 @@ msgid ""
635637"Return ``True`` if the stream supports writing. If ``False``, :meth:`write`"
636638" and :meth:`truncate` will raise :exc:`OSError`."
637639msgstr ""
640+ "如果流支持写入则返回 ``True``。 如为 ``False``,则 :meth:`write` 和 :meth:`truncate` 将引发 "
641+ ":exc:`OSError`。"
638642
639643#: ../../library/io.rst:381
640644msgid ""
641645"Write a list of lines to the stream. Line separators are not added, so it "
642646"is usual for each of the lines provided to have a line separator at the end."
643- msgstr ""
647+ msgstr "将行列表写入到流。 不会添加行分隔符,因此通常所提供的每一行都带有末尾行分隔符。 "
644648
645649#: ../../library/io.rst:387
646650msgid ""
647651"Prepare for object destruction. :class:`IOBase` provides a default "
648652"implementation of this method that calls the instance's "
649653":meth:`~IOBase.close` method."
650654msgstr ""
655+ "为对象销毁进行准备。 :class:`IOBase` 提供了此方法的默认实现,该实现会调用实例的 :meth:`~IOBase.close` 方法。"
651656
652657#: ../../library/io.rst:394
653658msgid ""
654659"Base class for raw binary I/O. It inherits :class:`IOBase`. There is no "
655660"public constructor."
656- msgstr ""
661+ msgstr "原始二进制 I/O 的基类。 它继承自 :class:`IOBase`。 没有公共构造器。 "
657662
658663#: ../../library/io.rst:397
659664msgid ""
660665"Raw binary I/O typically provides low-level access to an underlying OS "
661666"device or API, and does not try to encapsulate it in high-level primitives "
662667"(this is left to Buffered I/O and Text I/O, described later in this page)."
663668msgstr ""
669+ "原始二进制 I/O 通常提供对下层 OS 设备或 API 的低层级访问,而不尝试将其封装到高层级的基元中(这是留给缓冲 I/O 和 Text I/O "
670+ "的,将在下文中描述)。"
664671
665672#: ../../library/io.rst:401
666673msgid ""
0 commit comments