File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -457,17 +457,22 @@ msgid ""
457457"*offset* values are those returned from the ``f.tell()``, or zero. Any other"
458458" *offset* value produces undefined behaviour."
459459msgstr ""
460+ "在文本文件(那些在模式字符串中没有 ``b`` 的打开的文件)中,只允许相对于文件开头搜索(使用 ``seek(0, 2)`` "
461+ "搜索到文件末尾是个例外)并且唯一有效的 *offset* 值是那些能从 ``f.tell()`` 中返回的或者是零。其他 *offset* "
462+ "值都会产生未定义的行为。"
460463
461464#: ../../tutorial/inputoutput.rst:438
462465msgid ""
463466"File objects have some additional methods, such as :meth:`~file.isatty` and "
464467":meth:`~file.truncate` which are less frequently used; consult the Library "
465468"Reference for a complete guide to file objects."
466469msgstr ""
470+ "文件对象有一些额外的方法,例如:meth:`~file.isatty` 和 :meth:`~file.truncate` "
471+ ",它们使用频率较低;有关文件对象的完整指南请参阅库参考。"
467472
468473#: ../../tutorial/inputoutput.rst:446
469474msgid "Saving structured data with :mod:`json`"
470- msgstr ""
475+ msgstr "使用 :mod:`json` 保存结构化数据 "
471476
472477#: ../../tutorial/inputoutput.rst:450
473478msgid ""
You can’t perform that action at this time.
0 commit comments