Get rid of confusing 'global' statement in global code.

(Andrew Dalke & kjpylint)
This commit is contained in:
Guido van Rossum 1999-05-03 18:12:08 +00:00
parent 1e1cfa3a1c
commit 699f3bbba3
1 changed files with 0 additions and 1 deletions

View File

@ -903,7 +903,6 @@ mainpyfile = ''
# 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)