diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-10-09 21:20:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 21:20:53 (GMT) |
commit | 7d2c39752fa6f685f15ad9c585d83a62553477c2 (patch) | |
tree | 51379d14230688dd0cc64603521a160fc68a3648 /Lib/sqlite3 | |
parent | cbfd39247983309a9ef0ae6da6c61cc71665b967 (diff) | |
download | cpython-7d2c39752fa6f685f15ad9c585d83a62553477c2.zip cpython-7d2c39752fa6f685f15ad9c585d83a62553477c2.tar.gz cpython-7d2c39752fa6f685f15ad9c585d83a62553477c2.tar.bz2 |
gh-91818: Use default program name in the CLI of many modules (GH-124867)
As argparse now detects by default when the code was run as a module.
This leads to using the actual executable name instead of simply "python"
to display in the usage message ("usage: python -m ...").
Diffstat (limited to 'Lib/sqlite3')
-rw-r--r-- | Lib/sqlite3/__main__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/sqlite3/__main__.py b/Lib/sqlite3/__main__.py index d9423c2..cfdee61 100644 --- a/Lib/sqlite3/__main__.py +++ b/Lib/sqlite3/__main__.py @@ -65,7 +65,6 @@ class SqliteInteractiveConsole(InteractiveConsole): def main(*args): parser = ArgumentParser( description="Python sqlite3 CLI", - prog="python -m sqlite3", ) parser.add_argument( "filename", type=str, default=":memory:", nargs="?", |