##// END OF EJS Templates
import completer: only crippled 'local' version for py 2.4
import completer: only crippled 'local' version for py 2.4

File last commit:

r408:f8850b89
r411:a83a5283
Show More
ipy_pydb.py
14 lines | 311 B | text/x-python | PythonLexer
import pydb
import IPython.ipapi
from IPython.genutils import arg_split
ip = IPython.ipapi.get()
def call_pydb(self, args):
argl = arg_split(args)
# print argl # dbg
ip.IP.history_saving_wrapper( lambda : pydb.runl(*argl) )()
ip.expose_magic("pydb",call_pydb)