summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-05 08:54:11 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-05 08:54:11 (GMT)
commit4d4313d59dc0020fd9cd913e020de88b98f0ba50 (patch)
tree4a96df4e750f1eb680d694a43d2ff4317bf9de7b /Lib/pdb.py
parente3869c41f289126df4927a0bca97b3aa118f49d8 (diff)
downloadcpython-4d4313d59dc0020fd9cd913e020de88b98f0ba50.zip
cpython-4d4313d59dc0020fd9cd913e020de88b98f0ba50.tar.gz
cpython-4d4313d59dc0020fd9cd913e020de88b98f0ba50.tar.bz2
#5142: add module skipping feature to pdb.
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-xLib/pdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 2f42b31..2ff265c 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -58,8 +58,8 @@ line_prefix = '\n-> ' # Probably a better default
class Pdb(bdb.Bdb, cmd.Cmd):
- def __init__(self, completekey='tab', stdin=None, stdout=None):
- bdb.Bdb.__init__(self)
+ def __init__(self, completekey='tab', stdin=None, stdout=None, skip=None):
+ bdb.Bdb.__init__(self, skip=skip)
cmd.Cmd.__init__(self, completekey, stdin, stdout)
if stdout:
self.use_rawinput = 0