mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
While Node class has a useful `__str__`, its `__repr__` is not that useful. Added a `__repr__` that makes use of the current `__str__`. This is especially useful since the more popular `Q` class inherits `tree.Node`. Also created new tests that cover most of `Node` class functionality.
1.9 KiB
1.9 KiB