def extract_vars(*names,**kw):

    depth = kw.get('depth',0)
    
    callerNS = sys._getframe(depth+1).f_locals
    return dict((k,callerNS[k]) for k in names)
Sets the widget's checked state with the provided value.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/frame.py/extract_vars--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_check_box.py/WxCheckBox.set_checked