diff options
Diffstat (limited to 'Lib/lib-stdwin/wdb.py')
-rw-r--r-- | Lib/lib-stdwin/wdb.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/lib-stdwin/wdb.py b/Lib/lib-stdwin/wdb.py index 9914f3f..b3d6b73 100644 --- a/Lib/lib-stdwin/wdb.py +++ b/Lib/lib-stdwin/wdb.py @@ -283,6 +283,11 @@ def runctx(statement, globals, locals): try: x.runctx(statement, globals, locals) finally: x.close() +def runcall(*args): + x = Wdb().init() + try: apply(Pdb().init().runcall, args) + finally: x.close() + TESTCMD = 'import x; x.main()' def test(): |