summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorJason Myers <jason@jasonamyers.com>2015-09-10 08:23:54 -0500
committerJason Myers <jason@jasonamyers.com>2015-09-10 08:23:54 -0500
commitdb824b535359abef145303556a227ccda3cdcccc (patch)
treea0a7be7e2a65966d5f5017c822aaa2f08e54aa41 /lib/sqlalchemy
parentbe548690c7053a25a546d47cc4ae6e3595c6f421 (diff)
downloadsqlalchemy-db824b535359abef145303556a227ccda3cdcccc.tar.gz
Correcting the Hybrid Property Example
Fixes #3528 Signed-off-by: Jason Myers <jason@jasonamyers.com>
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/ext/hybrid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/hybrid.py b/lib/sqlalchemy/ext/hybrid.py
index 9c6178264..0073494b8 100644
--- a/lib/sqlalchemy/ext/hybrid.py
+++ b/lib/sqlalchemy/ext/hybrid.py
@@ -46,7 +46,7 @@ as the class itself::
@hybrid_method
def contains(self, point):
- return (self.start <= point) & (point < self.end)
+ return (self.start <= point) & (point <= self.end)
@hybrid_method
def intersects(self, other):