

def lookup(self, style, option, state=None, default=None):
    'Returns the value specified for option in style.\n\n        If state is specified it is expected to be a sequence of one\n        or more states. If the default argument is set, it is used as\n        a fallback value in case no specification for option is found.'
    state = (' '.join(state) if style else '')
    return self.tk.call(self._name, 'lookup', style, ('-%s' % option), state, default)

dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/lib-tk/ttk.py Style.lookup/VarMisuse@34/137 `state`->`style`