def _dir(obj=None, _larch=None):
    """return directory of an object -- thin wrapper about python builtin"""
    if _larch is None:
        raise Warning('cannot run dir() -- larch broken?')
    if obj is None:
        obj = _larch.symtable
    return dir(obj)
