Skip to content

Commit 8d1379d

Browse files
Improve comment
1 parent 7f614b1 commit 8d1379d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/argparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1965,7 +1965,7 @@ def _prog_name(prog=None):
19651965
# simple script
19661966
return _os.path.basename(arg0)
19671967
if modspec.name != '__main__' and arg0 != modspec.origin:
1968-
# imported module executed as main without altering sys.argv[0]
1968+
# named module executed as main without altering sys.argv[0]
19691969
return _os.path.basename(arg0)
19701970
py = _os.path.basename(_sys.executable)
19711971
if modspec.name != '__main__':

0 commit comments

Comments
 (0)