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

Method out_prompt_tokens

examples/Embedding/embed_class_long.py:32–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 ]
31
32 def out_prompt_tokens(self):
33 return [
34 (Token.OutPrompt, 'Out<'),
35 (Token.OutPromptNum, str(self.shell.execution_count)),
36 (Token.OutPrompt, '>: '),
37 ]
38
39
40from traitlets.config.loader import Config

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected