summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2025-03-10 23:11:24 (GMT)
committerGitHub <noreply@github.com>2025-03-10 23:11:24 (GMT)
commitc7022230d25f7eea85072e375126d0b207579800 (patch)
treeb7a07f2eb5603aba968843e24d91067a5d46523f /Python/pythonrun.c
parentebd2ed7ad8e499a64d989eb9e70035bcccde9f4f (diff)
downloadcpython-c7022230d25f7eea85072e375126d0b207579800.zip
cpython-c7022230d25f7eea85072e375126d0b207579800.tar.gz
cpython-c7022230d25f7eea85072e375126d0b207579800.tar.bz2
[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 a931a8b32415f311008dbb3f09079aae1e6d7a3d) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index eea6383..62b7093 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -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
);