Commit 8277c96b authored by Duncan Macleod's avatar Duncan Macleod

Revert "Merge branch 'python-segment-contains' into 'master'"

This reverts merge request !5
parent 8af238a7
Pipeline #24298 passed with stages
in 7 minutes and 52 seconds
......@@ -454,7 +454,7 @@ class segment(tuple):
a, b = other
except (ValueError, TypeError):
except ValueError:
return self[0] <= other < self[1]
return (self[0] <= a) and (self[1] >= b)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment