diff --git a/Lib/pdb.py b/Lib/pdb.py index 7d84e3c13cb..97a49751642 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -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)