Refactor the logic for setting f_builtins.
For the case where the current globals match the previous frame's globals, eliminates three tests in two if statements. For the case where we just get __builtins__ from a module, eliminate a couple of tests.
Showing
Please register or sign in to comment