Skip to content

Commit dd1b9a3

Browse files
Aniketsysobolevn
andauthored
Update Doc/library/tempfile.rst
Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent 8f62957 commit dd1b9a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/tempfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The module defines the following user-callable items:
8686
determine whether and how the named file should be automatically deleted.
8787

8888
The returned object is always a :class:`TemporaryFileWrapper` instance
89-
(a :term:`file-like object`) whose :attr:`!file` attribute is the underlying
89+
(a :term:`file-like object`) whose :attr:`~TemporaryFileWrapper.file` attribute is the underlying
9090
true file object. This file-like object can be used in a :keyword:`with`
9191
statement, just like a normal file. The name of the temporary file can be
9292
retrieved from the :attr:`!name` attribute of the returned file-like object.

0 commit comments

Comments
 (0)