Remove documentation warning from tree.py

Fixes #223

Thanks doc-whisperer @ElBrogrammer