Skip to content

Commit 31ba43e

Browse files
Merge branch 'gh-155009-argparse-prog' of https://github.com/savannahostrowski/cpython into gh-155009-argparse-prog
2 parents 8d1379d + 1e72ca7 commit 31ba43e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fix :class:`argparse.ArgumentParser` to preserve the program name from
2+
``sys.argv[0]`` when a named module is executed as the main program without
3+
replacing ``sys.argv[0]``.

0 commit comments

Comments
 (0)