[1.8.x] Fixed typo in django.core.files.File docstring.
Backport of 2c39f282b8
from master
This commit is contained in:
parent
f718691ec8
commit
5e4a69e07d
|
@ -70,7 +70,7 @@ class File(FileProxyMixin):
|
||||||
|
|
||||||
def chunks(self, chunk_size=None):
|
def chunks(self, chunk_size=None):
|
||||||
"""
|
"""
|
||||||
Read the file and yield chucks of ``chunk_size`` bytes (defaults to
|
Read the file and yield chunks of ``chunk_size`` bytes (defaults to
|
||||||
``UploadedFile.DEFAULT_CHUNK_SIZE``).
|
``UploadedFile.DEFAULT_CHUNK_SIZE``).
|
||||||
"""
|
"""
|
||||||
if not chunk_size:
|
if not chunk_size:
|
||||||
|
|
Loading…
Reference in New Issue