Correcting the Hybrid Property Example

Fixes #3528

Signed-off-by: Jason Myers <jason@jasonamyers.com>
This commit is contained in:
Jason Myers
2015-09-10 08:23:54 -05:00
parent be548690c7
commit db824b5353
+1 -1
View File
@@ -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):