summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2025-03-10 21:54:05 (GMT)
committerGitHub <noreply@github.com>2025-03-10 21:54:05 (GMT)
commita931a8b32415f311008dbb3f09079aae1e6d7a3d (patch)
tree33945124526fee1329a380adf5b3525e86038103 /Python/pythonrun.c
parentecdf6b15b0c0570c3c3302ab95bdbfd3007ea941 (diff)
downloadcpython-a931a8b32415f311008dbb3f09079aae1e6d7a3d.zip
cpython-a931a8b32415f311008dbb3f09079aae1e6d7a3d.tar.gz
cpython-a931a8b32415f311008dbb3f09079aae1e6d7a3d.tar.bz2
gh-117174: Add a new route in linecache to fetch interactive source code (#117500)
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 75d91b2..ebe222b 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -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
);