Skip to content

Commit

Permalink
Add 'EventsQueue.__repr__' magic method
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Dec 18, 2020
1 parent 4aacc4e commit 856df2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bentley_ottmann/core/events_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def __init__(self) -> None:
self._segments_relater = to_segments_relater()
self._segments_intersector = to_connected_segments_intersector()

__repr__ = generate_repr(__init__)

def __bool__(self) -> bool:
return bool(self._queue)

Expand Down

0 comments on commit 856df2c

Please sign in to comment.