SIGN IN SIGN UP

gh-66436: Improved prog default value for argparse.ArgumentParser (GH-124799)

It can now have one of three forms:

* basename(argv0) -- for simple scripts
* python arv0 -- for directories, ZIP files, etc
* python -m module -- for imported modules

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
S
Serhiy Storchaka committed
04bfea2d261bced371cbd64931fe2a8f64984793
Parent: d150e4a
Committed by GitHub <noreply@github.com> on 10/1/2024, 7:51:40 PM