mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Param name is dir, not directory. Update docstring. Backport candidate
This commit is contained in:
parent
217046fb9f
commit
946aea2cd5
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ else:
|
|||
prefix=template, dir=None):
|
||||
"""Create and return a temporary file.
|
||||
Arguments:
|
||||
'prefix', 'suffix', 'directory' -- as for mkstemp.
|
||||
'prefix', 'suffix', 'dir' -- as for mkstemp.
|
||||
'mode' -- the mode argument to os.fdopen (default "w+b").
|
||||
'bufsize' -- the buffer size argument to os.fdopen (default -1).
|
||||
The file is created as mkstemp() would do it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue