

def __getattr__(self, attr):
    info_type = getattr(win32security, ('Token' + attr))
    fn = self._MAP.get(attr, (lambda x: x))
    return x(wrapped(win32security.GetTokenInformation, self.hToken, info_type))

dataset/ETHPy150Open tjguk/winsys/winsys/_security/_tokens.py Token.__getattr__/VarMisuse@44/52 `fn`->`x`