From 03e8f5c2f540917ea59545694ff7dde6e17ecac4 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Fri, 20 Mar 2015 11:41:14 -0700 Subject: [PATCH] Update prompt_toolkit to ptpython, fix argument defaults. --- snippets/python.snippets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/python.snippets b/snippets/python.snippets index 3fa72b0..6953da9 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -138,10 +138,10 @@ snippet pdbbb # remote python debugger (rpdb) snippet rpdb import rpdb; rpdb.set_trace() -# python_prompt_toolkit -snippet ppt - from prompt_toolkit.contrib.repl import embed - embed(globals(), locals(), vi_mode=${1:default=False}, history_filename=${2:default=None}) +# ptpython +snippet ptpython + from ptpython.repl import embed + embed(globals(), locals(), vi_mode=${1:False}, history_filename=${2:None}) # python console debugger (pudb) snippet pudb import pudb; pudb.set_trace()