MCPcopy Create free account
hub / github.com/ipython/ipython / __init__

Method __init__

IPython/terminal/prompts.py:14–15  ·  view source on GitHub ↗
(self, shell)

Source from the content-addressed store, hash-verified

12
13class Prompts(object):
14 def __init__(self, shell):
15 self.shell = shell
16
17 def vi_mode(self):
18 if (getattr(self.shell.pt_app, 'editing_mode', None) == EditingMode.VI

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected