mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Remove a statement that was only added for debugging purposes
This commit is contained in:
parent
37b3b90b02
commit
8dbe5b5568
1 changed files with 0 additions and 1 deletions
|
@ -151,7 +151,6 @@ def _run_module_as_main(mod_name, alter_argv=True):
|
|||
# know what the code was looking for
|
||||
info = "can't find '__main__' module in %r" % sys.argv[0]
|
||||
msg = "%s: %s" % (sys.executable, info)
|
||||
raise
|
||||
sys.exit(msg)
|
||||
pkg_name = mod_name.rpartition('.')[0]
|
||||
main_globals = sys.modules["__main__"].__dict__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue