def get_frame_locals(stepback=0):
    with Frame(stepback=stepback) as frame:
        locals_dict = frame.f_locals
    return locals_dict
Returns locals dictionary from a given frame.
dataset/ETHPy150Open idlesign/django-siteprefs/siteprefs/utils.py/get_frame_locals