1
0
mirror of https://github.com/django/django.git synced 2025-01-03 15:06:09 +00:00

Fixed typo in ContentFile docstring.

This commit is contained in:
Thomas Grainger 2018-07-27 15:58:08 +01:00 committed by Tim Graham
parent 013d439ff0
commit 69eb70456b

View File

@ -120,7 +120,7 @@ class File(FileProxyMixin):
class ContentFile(File):
"""
A File-like object that take just raw content, rather than an actual file.
A File-like object that takes just raw content, rather than an actual file.
"""
def __init__(self, content, name=None):
stream_class = StringIO if isinstance(content, str) else BytesIO