File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1304,7 +1304,7 @@ msgstr ""
13041304msgid ""
13051305"Read until newline or EOF and return a single ``str``. If the stream is "
13061306"already at EOF, an empty string is returned."
1307- msgstr ""
1307+ msgstr "读取至换行符或 EOF 并返回单个 ``str``。 如果流已经到达 EOF,则将返回一个空字符串。 "
13081308
13091309#: ../../library/io.rst:833
13101310msgid "If *size* is specified, at most *size* characters will be read."
@@ -1315,13 +1315,17 @@ msgid ""
13151315"Change the stream position to the given *offset*. Behaviour depends on the "
13161316"*whence* parameter. The default value for *whence* is :data:`SEEK_SET`."
13171317msgstr ""
1318+ "将流位置改为给定的偏移位置 *offset*。 具体行为取决于 *whence* 形参。 *whence* 的默认值为 "
1319+ ":data:`SEEK_SET`。"
13181320
13191321#: ../../library/io.rst:841
13201322msgid ""
13211323":data:`SEEK_SET` or ``0``: seek from the start of the stream (the default); "
13221324"*offset* must either be a number returned by :meth:`TextIOBase.tell`, or "
13231325"zero. Any other *offset* value produces undefined behaviour."
13241326msgstr ""
1327+ ":data:`SEEK_SET` 或 ``0``: 从流的开始位置起查找(默认值);*offset* 必须为 "
1328+ ":meth:`TextIOBase.tell` 所返回的数值或为零。 任何其他 *offset* 值都将导致未定义的行为。"
13251329
13261330#: ../../library/io.rst:845
13271331msgid ""
You can’t perform that action at this time.
0 commit comments