@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.8\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2019-09-01 14:24 +0000\n "
16+ "POT-Creation-Date : 2019-09-11 00:37 +0000\n "
1717"PO-Revision-Date : 2017-02-16 23:40+0000\n "
1818"
Last-Translator :
Freesand Leo <[email protected] >, 2019\n "
1919"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -383,14 +383,14 @@ msgid ""
383383" mode). *size* is an optional numeric argument. When *size* is omitted or "
384384"negative, the entire contents of the file will be read and returned; it's "
385385"your problem if the file is twice as large as your machine's memory. "
386- "Otherwise, at most *size* bytes are read and returned. If the end of the "
387- "file has been reached, ``f.read()`` will return an empty string (``''``). "
388- "::"
386+ "Otherwise, at most *size* characters (in text mode) or *size* bytes (in "
387+ "binary mode) are read and returned. If the end of the file has been reached, "
388+ " ``f.read()`` will return an empty string (``''``). ::"
389389msgstr ""
390- "要读取文件内容,请调用 ``f.read(size)`` ,它会读取一些数据并将其作为字符串(在文本模式下)或字节对象 (在二进制模式下)返回。 "
391- "*size* 是一个可选的数字参数。 当 *size* "
392- "被省略或者为负的时候,将读取并返回文件的整个内容;如果文件的大小是机器内存的两倍,那么就可能出现问题。否则,最多读取并返回 *size* "
393- "字节的内容, 如果已到达文件末尾,``f.read()`` 将返回一个空字符串 (``''``)。 ::"
390+ "要读取文件内容,请调用 ``f.read(size)``,它会读取一些数据并将其作为字符串(在文本模式下)或字节串对象 (在二进制模式下)返回。 "
391+ "*size* 是一个可选的数值参数。 当 *size* 被省略或者为负数时,将读取并返回整个文件的内容;如果文件的大小是你的机器内存的两倍就会出现问题。 "
392+ " 当取其他值时,将读取并返回至多 *size* 个字符(在文本模式下)或 *size* 个字节(在二进制模式下)。 "
393+ "如果已到达文件末尾,``f.read()`` 将返回一个空字符串 (``''``)。 ::"
394394
395395#: ../../tutorial/inputoutput.rst:371
396396msgid ""
0 commit comments