mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Fix a typo in the mktemp -> mkstemp patch.
This commit is contained in:
parent
a132f6c38b
commit
dd8ddacd94
3 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ def _toaiff(filename, temps):
|
|||
if ftype is None or not ftype in table:
|
||||
raise error, \
|
||||
filename + ': unsupported audio file type ' + `ftype`
|
||||
(fd, temp) = tempfile.mktemp()
|
||||
(fd, temp) = tempfile.mkstemp()
|
||||
os.close(fd)
|
||||
temps.append(temp)
|
||||
sts = table[ftype].copy(fname, temp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue