def _expand(self, c, fsm, mapping):
        try:
            arg = self._cache[c]
        except __HOLE__:
            try:
                arg = mapping[c]
            except KeyError:
                arg = c
            else:
                if callable(arg):
                    arg = str(arg(c))
        fsm.arg += arg
dataset/ETHPy150Open kdart/pycopia/CLI/pycopia/UI.py/UserInterface._expand