mirror of https://github.com/python/cpython
Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli
Bendersky for the patch.
This commit is contained in:
parent
d21886cea4
commit
533a167a71
|
@ -257,7 +257,8 @@ class CoverageResults:
|
|||
if self.calledfuncs:
|
||||
print()
|
||||
print("functions called:")
|
||||
for filename, modulename, funcname in sorted(calls.keys()):
|
||||
calls = self.calledfuncs.keys()
|
||||
for filename, modulename, funcname in sorted(calls):
|
||||
print(("filename: %s, modulename: %s, funcname: %s"
|
||||
% (filename, modulename, funcname)))
|
||||
|
||||
|
|
|
@ -63,6 +63,7 @@ Reimer Behrends
|
|||
Ben Bell
|
||||
Thomas Bellman
|
||||
Alexander Belopolsky
|
||||
Eli Bendersky
|
||||
Andrew Bennetts
|
||||
Andy Bensky
|
||||
Michel Van den Bergh
|
||||
|
|
Loading…
Reference in New Issue