summaryrefslogtreecommitdiff
path: root/Python/thread.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2003-02-05 22:39:29 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2003-02-05 22:39:29 +0000
commitbd5cbf866f011dc170841f6eb121d74610fcc7b6 (patch)
tree4cc3635e881c97d32f63013ef08f450d2d9d023e /Python/thread.c
parent64edd6ac1ddb29f7817ee44e9b376b096ffa1d55 (diff)
downloadcpython-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/thread.c')
0 files changed, 0 insertions, 0 deletions