From 699f3bbba3c98f7d802f541b61cdbd5c0a9dd3a7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 3 May 1999 18:12:08 +0000 Subject: [PATCH] Get rid of confusing 'global' statement in global code. (Andrew Dalke & kjpylint) --- Lib/pdb.py | 1 - 1 file changed, 1 deletion(-) 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)