MCPcopy Index your code
hub / github.com/ipython/ipython / out_prompt_tokens

Method out_prompt_tokens

IPython/terminal/prompts.py:91–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 ]
90
91 def out_prompt_tokens(self) -> List[Tuple[_TokenType, str]]:
92 return [
93 (Token.OutPrompt, 'Out['),
94 (Token.OutPromptNum, str(self.shell.execution_count - 1)),
95 (Token.OutPrompt, ']: '),
96 ]
97
98class ClassicPrompts(Prompts):
99 def in_prompt_tokens(self):

Callers 1

write_output_promptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected