From 9c7a423f6c65f43caae6a0a17529f40218767cdd Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Mon, 27 Aug 2007 19:14:26 +0000 Subject: Fixed signature for orm's BETWEEN operator. --- 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 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) -- cgit v1.2.1