def ranged_property(min=None, max=None):
min_value = -_INF if min is None else min<EOL>max_value = _INF if max is None else max<EOL>return lambda fget: RangedProperty(<EOL>fget, fmin=lambda obj: min_value, fmax=lambda obj: max_value)<EOL>
Decorator for creating ranged property with fixed bounds.