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

Method get_message

IPython/terminal/interactiveshell.py:889–890  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

887 Return the current layout option for the current Terminal InteractiveShell
888 """
889 def get_message():
890 return PygmentsTokens(self.prompts.in_prompt_tokens())
891
892 if self.editing_mode == "emacs" and self.prompt_line_number_format == "":
893 # with emacs mode the prompt is (usually) static, so we call only

Callers

nothing calls this directly

Calls 1

in_prompt_tokensMethod · 0.45

Tested by

no test coverage detected