summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/lambdas.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2021-11-21 20:36:35 +0100
committerFederico Caselli <cfederico87@gmail.com>2021-11-22 15:03:17 +0000
commit0b95f0055be252b13e99b0a944466f60b5e367ff (patch)
tree6ae4135fd408c4e69582c4f6fa458b007553aeab /lib/sqlalchemy/sql/lambdas.py
parente04baa2953fb5d0d29f5dca01ea6882bf1fa1cd4 (diff)
downloadsqlalchemy-0b95f0055be252b13e99b0a944466f60b5e367ff.tar.gz
Remove object in class definition
References: #4600 Change-Id: I2a62ddfe00bc562720f0eae700a497495d7a987a
Diffstat (limited to 'lib/sqlalchemy/sql/lambdas.py')
-rw-r--r--lib/sqlalchemy/sql/lambdas.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/sql/lambdas.py b/lib/sqlalchemy/sql/lambdas.py
index e7c19b9a0..110260799 100644
--- a/lib/sqlalchemy/sql/lambdas.py
+++ b/lib/sqlalchemy/sql/lambdas.py
@@ -596,7 +596,7 @@ class LinkedLambdaElement(StatementLambdaElement):
return fn(self.parent_lambda._resolved)
-class AnalyzedCode(object):
+class AnalyzedCode:
__slots__ = (
"track_closure_variables",
"track_bound_values",
@@ -941,7 +941,7 @@ class AnalyzedCode(object):
)
-class NonAnalyzedFunction(object):
+class NonAnalyzedFunction:
__slots__ = ("expr",)
closure_bindparams = None
@@ -955,7 +955,7 @@ class NonAnalyzedFunction(object):
return self.expr
-class AnalyzedFunction(object):
+class AnalyzedFunction:
__slots__ = (
"analyzed_code",
"fn",