]> git.wh0rd.org Git - home.git/blob - .ipython/profile_default/ipython_config.py
ipython: fix up to work w/ipython-5 and py3
[home.git] / .ipython / profile_default / ipython_config.py
1 from IPython.terminal.prompts import Prompts, Token
2
3
4 class MyPrompt(Prompts):
5     def in_prompt_tokens(self, cli=None):
6         return [(Token.Prompt, '>>> ')]
7
8     def out_prompt_tokens(self, cli=None):
9         return []
10
11
12 c.InteractiveShell.prompts_class = MyPrompt