mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merged revisions 72322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72322 | georg.brandl | 2009-05-05 10:54:11 +0200 (Di, 05 Mai 2009) | 1 line #5142: add module skipping feature to pdb. ........
This commit is contained in:
parent
991f9202be
commit
243ad66ba6
5 changed files with 164 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue