summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-05-03 18:12:08 (GMT)
committerGuido van Rossum <guido@python.org>1999-05-03 18:12:08 (GMT)
commit699f3bbba3c98f7d802f541b61cdbd5c0a9dd3a7 (patch)
treec7fa24958b0c368c31aabb5f5b4681ef28880eee /Lib
parent1e1cfa3a1c126f5cfaa3527f8edf588ad8690b04 (diff)
downloadcpython-699f3bbba3c98f7d802f541b61cdbd5c0a9dd3a7.zip
cpython-699f3bbba3c98f7d802f541b61cdbd5c0a9dd3a7.tar.gz
cpython-699f3bbba3c98f7d802f541b61cdbd5c0a9dd3a7.tar.bz2
Get rid of confusing 'global' statement in global code.
(Andrew Dalke & kjpylint)
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/pdb.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 7d84e3c..97a4975 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -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)