def _dir(obj=None, _larch=None, **kws):
    if _larch is None:
        raise Warning("cannot run dir() -- larch broken?")
    if obj is None:
        obj = _larch.symtable
    return dir(obj)
return directory of an object -- thin wrapper about python builtin
dataset/ETHPy150Open xraypy/xraylarch/lib/builtins.py/_dir