Reorder result tuple of parse_code_object · python/cpython@b128a06 · GitHub
Skip to content

Commit b128a06

Browse files
committed
Reorder result tuple of parse_code_object
The standard followed by APIs like pstat.Stats is to take a file, line, function triplet. The parse_code_object function (and callers exposing this in Python like RemoteUnwinder.get_stack_trace) return function, file, line triplets which requires the caller to reorder these when using it in classes like pstat.Stats.
1 parent d963436 commit b128a06

2 files changed

Lines changed: 39 additions & 39 deletions

File tree

Lib/test/test_external_inspection.py

Lines changed: 35 additions & 35 deletions

Modules/_remote_debugging_module.c

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)