mirror of https://github.com/django/django.git
Clarified a comment in django.core.files.temp.
This commit is contained in:
parent
bc06d2c11c
commit
cf33777306
|
@ -29,7 +29,8 @@ if os.name == 'nt':
|
||||||
Temporary file object constructor that supports reopening of the
|
Temporary file object constructor that supports reopening of the
|
||||||
temporary file in Windows.
|
temporary file in Windows.
|
||||||
|
|
||||||
Note that __init__() does not support the 'delete' keyword argument in
|
Note that unlike tempfile.NamedTemporaryFile from the standard library,
|
||||||
|
__init__() does not support the 'delete' keyword argument in
|
||||||
Python 2.6+, or the 'delete', 'buffering', 'encoding', or 'newline'
|
Python 2.6+, or the 'delete', 'buffering', 'encoding', or 'newline'
|
||||||
keyword arguments in Python 3.0+.
|
keyword arguments in Python 3.0+.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue