mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-117174: Add a new route in linecache to fetch interactive source code (#117500)
This commit is contained in:
parent
ecdf6b15b0
commit
a931a8b324
16 changed files with 142 additions and 93 deletions
|
@ -1410,7 +1410,7 @@ run_mod(mod_ty mod, PyObject *filename, PyObject *globals, PyObject *locals,
|
|||
|
||||
PyObject* result = PyObject_CallFunction(
|
||||
print_tb_func, "OOO",
|
||||
interactive_filename,
|
||||
co,
|
||||
interactive_src,
|
||||
filename
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue