diff options
author | Jason Kirtland <jek@discorporate.us> | 2007-08-27 19:14:26 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2007-08-27 19:14:26 +0000 |
commit | 9c7a423f6c65f43caae6a0a17529f40218767cdd (patch) | |
tree | 3b822215361b3f1849feb87bab4d0c8f378279ad /lib/sqlalchemy/sql/operators.py | |
parent | c64e0e6be3a1bc635d69c8d6a7a6362b2962f4cf (diff) | |
download | sqlalchemy-9c7a423f6c65f43caae6a0a17529f40218767cdd.tar.gz |
Fixed signature for orm's BETWEEN operator.
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r-- | lib/sqlalchemy/sql/operators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py index b8aca3d26..c1d2ebc87 100644 --- a/lib/sqlalchemy/sql/operators.py +++ b/lib/sqlalchemy/sql/operators.py @@ -29,8 +29,8 @@ def ilike_op(a, b): def notilike_op(a, b): raise NotImplementedError() -def between_op(a, b): - return a.between(b) +def between_op(a, b, c): + return a.between(b, c) def in_op(a, b): return a.in_(*b) |