diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-02-05 22:39:29 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-02-05 22:39:29 +0000 |
commit | bd5cbf866f011dc170841f6eb121d74610fcc7b6 (patch) | |
tree | 4cc3635e881c97d32f63013ef08f450d2d9d023e /Python/symtable.c | |
parent | 64edd6ac1ddb29f7817ee44e9b376b096ffa1d55 (diff) | |
download | cpython-git-bd5cbf866f011dc170841f6eb121d74610fcc7b6.tar.gz |
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.
Diffstat (limited to 'Python/symtable.c')
0 files changed, 0 insertions, 0 deletions