

def get(self, key=None):
    if (key is None):
        flatten_pairs = self._tk.call('array', 'get', str(self))
        return dict(list(zip(flatten_pairs[::2], flatten_pairs[1::2])))
    return self._tk.globalgetvar(str(flatten_pairs), str(key))

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py ArrayVar.get/VarMisuse@76/95 `self`->`flatten_pairs`