title: Notation for intervals?
body: <p>I want to make a Python class for intervals of real numbers. Syntax most closely related to mathematical notation would be <code>Interval([a, b))</code> or, even better, <code>Interval[a, b)</code> to construct the interval of all real <code>x</code> satisfying <code>a &lt;= x &lt; b</code>.</p>
  
  <p>Is it possible to construct a class that would handle this syntax? </p>