summaryrefslogtreecommitdiff
path: root/django/core/files/base.py
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2018-03-12 18:12:44 +0500
committerTim Graham <timograham@gmail.com>2018-03-12 09:12:44 -0400
commite17776e2cd3ae5b9ea13325128b2bcfde552da7c (patch)
tree416c255233dc978845222304a215a807f224c7a9 /django/core/files/base.py
parenta5406fe989d27598652dfd9f8dc1429b5d2db85c (diff)
downloaddjango-e17776e2cd3ae5b9ea13325128b2bcfde552da7c.tar.gz
Removed redundant UploadedFile.DEFAULT_CHUNK_SIZE.
The same value is inherited from File.
Diffstat (limited to 'django/core/files/base.py')
-rw-r--r--django/core/files/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/files/base.py b/django/core/files/base.py
index bc87a870c2..5403d4a702 100644
--- a/django/core/files/base.py
+++ b/django/core/files/base.py
@@ -48,7 +48,7 @@ class File(FileProxyMixin):
def chunks(self, chunk_size=None):
"""
Read the file and yield chunks of ``chunk_size`` bytes (defaults to
- ``UploadedFile.DEFAULT_CHUNK_SIZE``).
+ ``File.DEFAULT_CHUNK_SIZE``).
"""
chunk_size = chunk_size or self.DEFAULT_CHUNK_SIZE
try: