There was an error while loading. Please reload this page.
1 parent 7f614b1 commit 8d1379dCopy full SHA for 8d1379d
1 file changed
Lib/argparse.py
@@ -1965,7 +1965,7 @@ def _prog_name(prog=None):
1965
# simple script
1966
return _os.path.basename(arg0)
1967
if modspec.name != '__main__' and arg0 != modspec.origin:
1968
- # imported module executed as main without altering sys.argv[0]
+ # named module executed as main without altering sys.argv[0]
1969
1970
py = _os.path.basename(_sys.executable)
1971
if modspec.name != '__main__':
0 commit comments