def _dir(obj=None, _larch=None, **kws):
    "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)
dataset/ETHPy150Open xraypy/xraylarch/lib/builtins.py/_dir/original