Add docs for membership operators

This commit is contained in:
Konsta Vesterinen
2014-01-14 16:42:55 +02:00
parent e4c0955707
commit abffab17e1

View File

@@ -32,8 +32,16 @@ Comparison operators
Car.price_range > (300, 500) Car.price_range > (300, 500)
Membership operators
^^^^^^^^^^^^^^^^^^^^
::
Car.price_range.in_([[300, 500]]) Car.price_range.in_([[300, 500]])
~ Car.price_range.in_([[300, 400], [700, 800]])
.. _intervals: https://github.com/kvesteri/intervals .. _intervals: https://github.com/kvesteri/intervals
""" """