summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-02 20:43:20 (GMT)
committerGuido van Rossum <guido@python.org>1992-09-02 20:43:20 (GMT)
commit4e16098ce74c645cf1d69566b6f8bc96031554b7 (patch)
tree919ce6e774608fbf5a2e4745472e9fbc445139e9 /Lib/pdb.py
parent2179945eec5ab32b4aa88b9f7a9308a898cde8a5 (diff)
downloadcpython-4e16098ce74c645cf1d69566b6f8bc96031554b7.zip
cpython-4e16098ce74c645cf1d69566b6f8bc96031554b7.tar.gz
cpython-4e16098ce74c645cf1d69566b6f8bc96031554b7.tar.bz2
Added a _v21 def to FL.py and added two new input field types
Added runcall(func, *args) interfaces to profile.py, bdb.py, pdb.py, wdb.py Added new module bisect.py and used it in sched.py. Mostly cosmetic changes to profile.py (changed output format).
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():