summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/operators.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-07-15 19:23:52 +0000
committerJason Kirtland <jek@discorporate.us>2008-07-15 19:23:52 +0000
commit8fa48edbf9d84093152aced94fc1eb7996b9827f (patch)
tree6ceb46f942f1a3b7f8994ba202fd5b02c21ec7c7 /lib/sqlalchemy/sql/operators.py
parent6917ffb9bdae19a368abef5fdbd4655fc27fcdf2 (diff)
downloadsqlalchemy-8fa48edbf9d84093152aced94fc1eb7996b9827f.tar.gz
- Removed 2.3 set emulations/enhancements.
(sets.Set-based collections & DB-API returns still work.)
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r--lib/sqlalchemy/sql/operators.py4
1 files changed, 2 insertions, 2 deletions
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