From cecc079168e8669138728d31611ff3a1e7eb3a9f Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Thu, 19 Jan 2017 02:39:46 -0500 Subject: Refs #23919 -- Stopped inheriting from object to define new style classes. --- django/db/models/sql/datastructures.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'django/db/models/sql/datastructures.py') diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py index 02e4f930e1..81b6cabdc6 100644 --- a/django/db/models/sql/datastructures.py +++ b/django/db/models/sql/datastructures.py @@ -19,11 +19,11 @@ class MultiJoin(Exception): self.names_with_path = path_with_names -class Empty(object): +class Empty: pass -class Join(object): +class Join: """ Used by sql.Query and sql.SQLCompiler to generate JOIN clauses into the FROM entry. For example, the SQL generated could be @@ -125,7 +125,7 @@ class Join(object): return new -class BaseTable(object): +class BaseTable: """ The BaseTable class is used for base table references in FROM clause. For example, the SQL "foo" in -- cgit v1.3