Remove documentation warning from tree.py

Fixes #223