File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1936,7 +1936,7 @@ msgid ""
19361936"write *end*."
19371937msgstr ""
19381938"所有非关键字参数都会被转换为字符串,就像是执行了 :func:`str` 一样,并会被写入到流,以 *sep* 且在末尾加上 *end*。 *sep* "
1939- "和 *end* 都必须为字符串;它们也可以为 ``None``,这意味着使用默认值。 如果没有给出 *objects*,则:func:`print` "
1939+ "和 *end* 都必须为字符串;它们也可以为 ``None``,这意味着使用默认值。 如果没有给出 *objects*,则 :func:`print` "
19401940"将只写入 *end*。"
19411941
19421942#: ../../library/functions.rst:1226
@@ -1946,16 +1946,19 @@ msgid ""
19461946" arguments are converted to text strings, :func:`print` cannot be used with "
19471947"binary mode file objects. For these, use ``file.write(...)`` instead."
19481948msgstr ""
1949+ "*file* 参数必须是一个具有 ``write(string)`` 方法的对象;如果参数不存在或为 ``None``,则将使用 "
1950+ ":data:`sys.stdout`。 由于要打印的参数会被转换为文本字符串,因此 :func:`print` 不能用于二进制模式的文件对象。 "
1951+ "对于这些对象,应改用 ``file.write(...)``。"
19491952
19501953#: ../../library/functions.rst:1231
19511954msgid ""
19521955"Whether output is buffered is usually determined by *file*, but if the "
19531956"*flush* keyword argument is true, the stream is forcibly flushed."
1954- msgstr ""
1957+ msgstr "输出是否被缓存通常决定于 *file*,但如果 *flush* 关键字参数为真值,流会被强制刷新。 "
19551958
19561959#: ../../library/functions.rst:1234
19571960msgid "Added the *flush* keyword argument."
1958- msgstr "增加了 *flush* keyword 实参 。"
1961+ msgstr "增加了 *flush* 关键字参数 。"
19591962
19601963#: ../../library/functions.rst:1240
19611964msgid "Return a property attribute."
You can’t perform that action at this time.
0 commit comments