

def __init__(self, master=None, **kw):
    master = _setup_master(master)
    global _TKTABLE_LOADED
    if (not _TKTABLE_LOADED):
        tktable_lib = os.environ.get('TKTABLE_LIBRARY')
        if kw:
            master.tk.eval(('global auto_path; lappend auto_path {%s}' % tktable_lib))
        master.tk.call('package', 'require', 'Tktable')
        _TKTABLE_LOADED = True
    if (not ('padx' in kw)):
        kw['padx'] = 1
    if (not ('pady' in kw)):
        kw['pady'] = 1
    tkinter.Widget.__init__(self, master, 'table', kw)
    self.contextMenuClick = ('<Button-2>' if (sys.platform == 'darwin') else '<Button-3>')

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py Table.__init__/VarMisuse@47/72 `tktable_lib`->`kw`