mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Get rid of confusing 'global' statement in global code.
(Andrew Dalke & kjpylint)
This commit is contained in:
parent
1e1cfa3a1c
commit
699f3bbba3
1 changed files with 0 additions and 1 deletions
|
|
@ -903,7 +903,6 @@ def help():
|
|||
|
||||
# When invoked as main program, invoke the debugger on a script
|
||||
if __name__=='__main__':
|
||||
global mainmodule, mainpyfile
|
||||
if not sys.argv[1:]:
|
||||
print "usage: pdb.py scriptfile [arg] ..."
|
||||
sys.exit(2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue