Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ get_prompt_tokens
Method
get_prompt_tokens
IPython/terminal/debugger.py:44–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
pt_session_options = {}
43
44
def
get_prompt_tokens():
45
return
[(Token.Prompt, self.prompt)]
46
47
if
self._ptcomp is None:
48
compl = IPCompleter(shell=self.shell,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected