mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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).
This commit is contained in:
parent
2179945eec
commit
4e16098ce7
9 changed files with 167 additions and 160 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue