diff options
author | Irit Katriel <iritkatriel@yahoo.com> | 2021-04-01 16:25:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 08:25:59 -0700 |
commit | 652bfdee9495dca241d48278742fe035b7a82bdb (patch) | |
tree | 709028598de16a04558c77f52d6e47eeb0a1401b /Lib/pdb.py | |
parent | fcb55c0037baab6f98f91ee38ce84b6f874f034a (diff) | |
download | cpython-git-652bfdee9495dca241d48278742fe035b7a82bdb.tar.gz |
bpo-26053: Fix args echoed by pdb run command (#22033)
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py index 7a5192cbad..98dc975eaf 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -1708,7 +1708,7 @@ def main(): print("The program finished and will be restarted") except Restart: print("Restarting", mainpyfile, "with arguments:") - print("\t" + " ".join(args)) + print("\t" + " ".join(sys.argv[1:])) except SystemExit: # In most cases SystemExit does not warrant a post-mortem session. print("The program exited via sys.exit(). Exit status:", end=' ') |