def displayhook(obj):
        try:
            stream = _local.stream
        except __HOLE__:
            return _displayhook(obj)
        # stream._write bypasses escaping as debug_repr is
        # already generating HTML for us.
        if obj is not None:
            _local._current_ipy.locals['_'] = obj
            stream._write(debug_repr(obj))
dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/debug/console.py/ThreadedStream.displayhook