From 8fa48edbf9d84093152aced94fc1eb7996b9827f Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Tue, 15 Jul 2008 19:23:52 +0000 Subject: - Removed 2.3 set emulations/enhancements. (sets.Set-based collections & DB-API returns still work.) --- lib/sqlalchemy/sql/operators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sqlalchemy/sql/operators.py') diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py index 37070a451..cc96f2e64 100644 --- a/lib/sqlalchemy/sql/operators.py +++ b/lib/sqlalchemy/sql/operators.py @@ -5,7 +5,7 @@ from operator import and_, or_, inv, add, mul, sub, div, mod, truediv, \ lt, le, ne, gt, ge, eq -from sqlalchemy.util import Set, symbol +from sqlalchemy.util import symbol def from_(): raise NotImplementedError() @@ -76,7 +76,7 @@ def desc_op(a): def asc_op(a): return a.asc() -_commutative = Set([eq, ne, add, mul]) +_commutative = set([eq, ne, add, mul]) def is_commutative(op): return op in _commutative -- cgit v1.2.1