Browse files

Clarified a comment in django.core.files.temp.

  • Loading branch information...
1 parent bc06d2c commit cf337773063112d531b40bcb26740dd0b698291f @timgraham timgraham committed Aug 29, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 django/core/files/temp.py
View
3 django/core/files/temp.py
@@ -29,7 +29,8 @@ class TemporaryFile(FileProxyMixin):
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+.
"""

0 comments on commit cf33777

Please sign in to comment.