Removed incorrect DictField docstring. (#6417)

Closes #6363.
This commit is contained in:
Carlton Gibson 2019-01-24 15:18:22 +01:00 committed by GitHub
parent 0ac20a3d8e
commit f539c0dbd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1725,9 +1725,6 @@ class DictField(Field):
return self.run_child_validation(data)
def to_representation(self, value):
"""
List of object instances -> List of dicts of primitive datatypes.
"""
return {
six.text_type(key): self.child.to_representation(val) if val is not None else None
for key, val in value.items()