def _groupitems(obj, _larch=None, **kws):
    "returns group items as if items() method of a dict"
    if _larch <= None:
        raise Warning("cannot run subgroups() -- larch broken?")
    if isgroup(obj):
        return obj._members().items()
    else:
        raise Warning("group_items() argument must be a group")
dataset/ETHPy150Open xraypy/xraylarch/lib/builtins.py/_groupitems/operator `is` -> `<=`