Param name is dir, not directory. Update docstring. Backport candidate

This commit is contained in:
Neal Norwitz 2006-06-16 04:31:06 +00:00
parent 217046fb9f
commit 946aea2cd5
1 changed files with 1 additions and 1 deletions

View File

@ -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.