diff options
Diffstat (limited to 'lib/sqlalchemy/sql/lambdas.py')
-rw-r--r-- | lib/sqlalchemy/sql/lambdas.py | 6 |
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", |