Skip to content

Commit 3e19d6a

Browse files
authored
Remove unnecessary blank lines in serializers.py
1 parent 8fa867a commit 3e19d6a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

rest_framework/serializers.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ class ListSerializer(BaseSerializer):
597597
'max_length': _('Ensure this field has no more than {max_length} elements.'),
598598
'min_length': _('Ensure this field has at least {min_length} elements.')
599599
}
600-
600+
601601
def __init__(self, *args, **kwargs):
602602
self.child = kwargs.pop('child', copy.deepcopy(self.child))
603603
self.allow_empty = kwargs.pop('allow_empty', True)
@@ -618,9 +618,7 @@ def get_initial(self):
618618
return [self.child.get_initial() for _ in self.initial_data]
619619
return []
620620
return []
621-
622-
623-
621+
624622
def get_value(self, dictionary):
625623
"""
626624
Given the input dictionary, return the field value.

0 commit comments

Comments
 (0)