summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-xLib/pdb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 0dd975b..f564f64 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -254,6 +254,9 @@ def run(statement):
def runctx(statement, globals, locals):
Pdb().init().runctx(statement, globals, locals)
+def runcall(*args):
+ apply(Pdb().init().runcall, args)
+
TESTCMD = 'import x; x.main()'
def test():