Merge pull request #547 from tony/ptpython-fix
Python: Update prompt_toolkit to ptpython, fix argument defaults.
This commit is contained in:
commit
b8f53c047a
@ -138,10 +138,10 @@ snippet pdbbb
|
|||||||
# remote python debugger (rpdb)
|
# remote python debugger (rpdb)
|
||||||
snippet rpdb
|
snippet rpdb
|
||||||
import rpdb; rpdb.set_trace()
|
import rpdb; rpdb.set_trace()
|
||||||
# python_prompt_toolkit
|
# ptpython
|
||||||
snippet ppt
|
snippet ptpython
|
||||||
from prompt_toolkit.contrib.repl import embed
|
from ptpython.repl import embed
|
||||||
embed(globals(), locals(), vi_mode=${1:default=False}, history_filename=${2:default=None})
|
embed(globals(), locals(), vi_mode=${1:False}, history_filename=${2:None})
|
||||||
# python console debugger (pudb)
|
# python console debugger (pudb)
|
||||||
snippet pudb
|
snippet pudb
|
||||||
import pudb; pudb.set_trace()
|
import pudb; pudb.set_trace()
|
||||||
|
Loading…
Reference in New Issue
Block a user