'Create a tree dumper.
Arguments:
target_stream: the stream to dump the tree to. A file-like object. By
default will dump into stdout.'

def __init__(self, target_stream=sys.stdout):

    self._target_stream = target_stream
    self._current_indent = 0
