summaryrefslogtreecommitdiff
path: root/django/forms/forms.py
diff options
context:
space:
mode:
authorSimon Charette <charettes@users.noreply.github.com>2017-01-19 02:39:46 -0500
committerClaude Paroz <claude@2xlibre.net>2017-01-19 08:39:46 +0100
commitcecc079168e8669138728d31611ff3a1e7eb3a9f (patch)
tree2415083d44f84c6f206930fc689a8c0e50a98caa /django/forms/forms.py
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'django/forms/forms.py')
-rw-r--r--django/forms/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py
index de19edb668..7fccdc2b65 100644
--- a/django/forms/forms.py
+++ b/django/forms/forms.py
@@ -58,7 +58,7 @@ class DeclarativeFieldsMetaclass(MediaDefiningClass):
@html_safe
-class BaseForm(object):
+class BaseForm:
# This is the main implementation of all the Form logic. Note that this
# class is different than Form. See the comments by the Form class for more
# information. Any improvements to the form API should be made to *this*