mirror of
https://github.com/python/cpython.git
synced 2025-10-28 09:10:36 +00:00
Issue #26261: Merge NamedTemporaryFile docs from 3.5
This commit is contained in:
commit
fe93283fe1
2 changed files with 4 additions and 3 deletions
|
|
@ -533,8 +533,8 @@ def NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None,
|
|||
The file is created as mkstemp() would do it.
|
||||
|
||||
Returns an object with a file-like interface; the name of the file
|
||||
is accessible as file.name. The file will be automatically deleted
|
||||
when it is closed unless the 'delete' argument is set to False.
|
||||
is accessible as its 'name' attribute. The file will be automatically
|
||||
deleted when it is closed unless the 'delete' argument is set to False.
|
||||
"""
|
||||
|
||||
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue