70
80
# original string is 1) locals dictionary, 2) globals dictionary.
72
82
# First, get the frame of the caller
74
84
# A `safe' dictionary is used so we won't get an exception if there's a
75
85
# missing key in the dictionary.
76
86
dict = SafeDict(frame.f_globals.copy())