diff options
| author | Moayad Mardini <moayad.m@gmail.com> | 2014-05-16 15:20:12 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-05-16 09:30:25 -0400 |
| commit | 393ddc10a78354b573b9e746247df013f7bd6151 (patch) | |
| tree | 6b38ab116e97f02ea31ce2a42a301fa64b58fb2f /docs | |
| parent | fadc6cd1bd095da0686ae507d1095c1fedb04f51 (diff) | |
Fixed #22531 -- Added tree.Node.__repr__ and tests for the class.
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.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
