diff options
author | Skip Montanaro <skip@pobox.com> | 2004-04-10 16:29:58 +0000 |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2004-04-10 16:29:58 +0000 |
commit | 5bfd98498a868e13834603f966a3ff51c883e8ac (patch) | |
tree | c690d40e896e205cd6dc795ae147e5c61fed656b /Python/ceval.c | |
parent | 6b3b046ab0a0fae6ad50cbb0e1fe4b28f5f7f957 (diff) | |
download | cpython-git-5bfd98498a868e13834603f966a3ff51c883e8ac.tar.gz |
Refactor common code out of globaltrace_trackcallers() and
globaltrace_countfuncs() into file_module_function_of().
In that function use Michael Hudson's suggestion of gc.get_referrers() to
back up from the code object to a function, then to a class's dict and
finally to a class object if one exists.
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions