Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f526d11 commit 50f4ab5Copy full SHA for 50f4ab5
1 file changed
library/tempfile.po
@@ -176,6 +176,9 @@ msgid ""
176
"depending on whether :func:`rollover` has been called. This file-like "
177
"object can be used in a :keyword:`with` statement, just like a normal file."
178
msgstr ""
179
+"返回的对象是文件类对象 (file-like object),它的 :attr:`_file` 属性是 :class:`io.BytesIO` 或 "
180
+":class:`io.TextIOWrapper` 对象(取决于指定的是二进制模式还是文本模式)或真实的文件对象(取决于是否已调用 "
181
+":func:`rollover`)。文件类对象可以像普通文件一样在 :keyword:`with` 语句中使用。"
182
183
#: ../../library/tempfile.rst:114
184
msgid "the truncate method now accepts a ``size`` argument."
0 commit comments