diff --git a/django/core/files/temp.py b/django/core/files/temp.py index 77563eed37c..19849a4260b 100644 --- a/django/core/files/temp.py +++ b/django/core/files/temp.py @@ -29,7 +29,8 @@ if os.name == 'nt': Temporary file object constructor that supports reopening of the 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' keyword arguments in Python 3.0+. """