corrects typographical error in line 118 (#7553)

This commit is contained in:
Esieboma Jeremiah 2020-09-28 08:52:17 +01:00 committed by GitHub
parent ae649336b1
commit 9ee67bbff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ class BaseSerializer(Field):
super().__init__(**kwargs)
def __new__(cls, *args, **kwargs):
# We override this method in order to automagically create
# We override this method in order to automatically create
# `ListSerializer` classes instead when `many=True` is set.
if kwargs.pop('many', False):
return cls.many_init(*args, **kwargs)