'Returns a dictionary of keys k and values v, where k is a string.
Used in Template._render() with <for> blocks.'

def _dict(self, k='', v=[]):

    k = [k.strip('$    ') for k in k.strip('()').split(',')]
    return dict(zip(k, (v if (len(k) > 1) else [v])))
