summaryrefslogtreecommitdiff
path: root/django/forms/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/forms/utils.py')
-rw-r--r--django/forms/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/utils.py b/django/forms/utils.py
index b199803ccc..bda4694e4f 100644
--- a/django/forms/utils.py
+++ b/django/forms/utils.py
@@ -80,7 +80,7 @@ class ErrorList(UserList, list):
A collection of errors that knows how to display itself in various formats.
"""
def __init__(self, initlist=None, error_class=None):
- super(ErrorList, self).__init__(initlist)
+ super().__init__(initlist)
if error_class is None:
self.error_class = 'errorlist'