emilydolson / emilydolson/python-red-black-trees
Add `__len__()` to RedBlackTree
Open
- Dominant language
- Python
- Stars
- 28
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
The class has a size attribute so it makes sense to use the standard `__len__()` method to access it instead of relying on it being a public attribute.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.