mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
SF bug #1052503: pdb runcall should accept keyword arguments
This commit is contained in:
parent
9047c8f73d
commit
2ef7e6c8f2
3 changed files with 6 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue