From 69eb70456bfd42becdbdf1ca6043ae2e3263beb5 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Fri, 27 Jul 2018 15:58:08 +0100 Subject: [PATCH] Fixed typo in ContentFile docstring. --- django/core/files/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/files/base.py b/django/core/files/base.py index 5403d4a702..63e3ee99a9 100644 --- a/django/core/files/base.py +++ b/django/core/files/base.py @@ -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