summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-08-29 07:27:15 -0400
committerTim Graham <timograham@gmail.com>2014-08-29 07:27:15 -0400
commitcf337773063112d531b40bcb26740dd0b698291f (patch)
tree2dfd9250d6ae5ed68498148f85e2b6cc10eee777
parentbc06d2c11c32bde94b717a75bd3325ef1b94c902 (diff)
Clarified a comment in django.core.files.temp.
-rw-r--r--django/core/files/temp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/core/files/temp.py b/django/core/files/temp.py
index 77563eed37..19849a4260 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+.
"""