Skip to content

Commit

Permalink
corrects typographical error in line 118 (#7553)
Browse files Browse the repository at this point in the history
  • Loading branch information
esiebomaj authored Sep 28, 2020
1 parent ae64933 commit 9ee67bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(self, instance=None, data=empty, **kwargs):
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)
Expand Down

0 comments on commit 9ee67bb

Please sign in to comment.