mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
[3.13] gh-117174: Add a new route in linecache to fetch interactive source code (GH-117500) (#131060)
gh-117174: Add a new route in linecache to fetch interactive source code (GH-117500)
(cherry picked from commit a931a8b324
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
This commit is contained in:
parent
ebd2ed7ad8
commit
c7022230d2
16 changed files with 142 additions and 93 deletions
|
@ -1442,7 +1442,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