summaryrefslogtreecommitdiffstats
path: root/Lib/bdb.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-10-24 00:32:24 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-10-24 00:32:24 (GMT)
commit2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3 (patch)
treeba7d950adac77a70d5e9bb648f66c60a31fcdb94 /Lib/bdb.py
parent9047c8f73d0e8c865452f80a4219d647be7c433a (diff)
downloadcpython-2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3.zip
cpython-2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3.tar.gz
cpython-2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3.tar.bz2
SF bug #1052503: pdb runcall should accept keyword arguments
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r--Lib/bdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index f555078..dacbcc0 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -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: