diff options
Diffstat (limited to 'django/core/serializers/json.py')
| -rw-r--r-- | django/core/serializers/json.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/serializers/json.py b/django/core/serializers/json.py index 79db71cadf..b2ab87b171 100644 --- a/django/core/serializers/json.py +++ b/django/core/serializers/json.py @@ -59,7 +59,7 @@ class Serializer(PythonSerializer): self._current = None def getvalue(self): - # Grand-parent super + # Grandparent super return super(PythonSerializer, self).getvalue() @@ -108,4 +108,4 @@ class DjangoJSONEncoder(json.JSONEncoder): elif isinstance(o, (decimal.Decimal, uuid.UUID, Promise)): return str(o) else: - return super(DjangoJSONEncoder, self).default(o) + return super().default(o) |
