summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/expression.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-02-28 16:46:42 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-02-28 16:46:42 +0000
commitfe99d56657a59d98cf5fabebb4b3bb92bf26e304 (patch)
treeb6b4eaa2849586943ef8536cf09746c9adf46a61 /lib/sqlalchemy/sql/expression.py
parenta4034bcc6468a43bbbb03825e8bb5dbbe7595f94 (diff)
downloadsqlalchemy-fe99d56657a59d98cf5fabebb4b3bb92bf26e304.tar.gz
- make tuple a little more friendly
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
-rw-r--r--lib/sqlalchemy/sql/expression.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index 0f55ac097..f3a1562c5 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -2424,6 +2424,7 @@ class BooleanClauseList(ClauseList, ColumnElement):
class _Tuple(ClauseList, ColumnElement):
def __init__(self, *clauses, **kw):
+ clauses = [_literal_as_binds(c) for c in clauses]
super(_Tuple, self).__init__(*clauses, **kw)
self.type = _type_from_args(clauses)