summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/functions.py
diff options
context:
space:
mode:
authorchillaranand <anand21nanda@gmail.com>2017-01-21 18:43:44 +0530
committerTim Graham <timograham@gmail.com>2017-01-25 12:23:46 -0500
commitd6eaf7c0183cd04b78f2a55e1d60bb7e59598310 (patch)
treeab02fd9949d4bfa23e27dea45e213ce334c883f0 /django/contrib/postgres/functions.py
parentdc165ec8e5698ffc6dee6b510f1f92c9fd7467fe (diff)
downloaddjango-d6eaf7c0183cd04b78f2a55e1d60bb7e59598310.tar.gz
Refs #23919 -- Replaced super(ClassName, self) with super().
Diffstat (limited to 'django/contrib/postgres/functions.py')
-rw-r--r--django/contrib/postgres/functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/postgres/functions.py b/django/contrib/postgres/functions.py
index fc0dae8ece..d17f9cb37d 100644
--- a/django/contrib/postgres/functions.py
+++ b/django/contrib/postgres/functions.py
@@ -7,4 +7,4 @@ class TransactionNow(Func):
def __init__(self, output_field=None, **extra):
if output_field is None:
output_field = DateTimeField()
- super(TransactionNow, self).__init__(output_field=output_field, **extra)
+ super().__init__(output_field=output_field, **extra)