Skip to content

Commit

Permalink
Removed old description for how __repr__ worked (fixes #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
runfalk committed Apr 21, 2021
1 parent ea6341d commit d3688d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions doc/ranges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ Discrete ranges are always normalized, while normal ranges are not.
>>> floatrange(1.0, 5.0, upper_inc=True)
floatrange(1.0, 5.0, upper_inc=True)
The ``__repr__`` for ranges follows the same format as used by PostgreSQL's ranges. ``[`` and ``]`` means that the boundaries are included in the range and ``(`` and ``)`` means that they are not.

Ranges support set operations such as :class:`~spans.types.Range.union`, :class:`~spans.types.Range.difference` and :class:`~spans.types.Range.intersection`.

.. code-block:: python
Expand Down

0 comments on commit d3688d1

Please sign in to comment.