diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/bdb.py | 4 | ||||
-rwxr-xr-x | Lib/pdb.py | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -391,13 +391,13 @@ class Bdb: # This method is more useful to debug a single function call. - def runcall(self, func, *args): + def runcall(self, func, *args, **kwds): self.reset() sys.settrace(self.trace_dispatch) res = None try: try: - res = func(*args) + res = func(*args, **kwds) except BdbQuit: pass finally: @@ -993,8 +993,8 @@ def runctx(statement, globals, locals): # B/W compatibility run(statement, globals, locals) -def runcall(*args): - return Pdb().runcall(*args) +def runcall(*args, **kwds): + return Pdb().runcall(*args, **kwds) def set_trace(): Pdb().set_trace() |