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

Method _prompt_trait_changed

IPython/core/interactiveshell.py:552–558  ·  view source on GitHub ↗
(self, change)

Source from the content-addressed store, hash-verified

550
551 @observe('prompt_in1', 'prompt_in2', 'prompt_out', 'prompt_pad_left')
552 def _prompt_trait_changed(self, change):
553 name = change['name']
554 warn("InteractiveShell.{name} is deprecated since IPython 4.0"
555 " and ignored since 5.0, set TerminalInteractiveShell.prompts"
556 " object directly.".format(name=name))
557
558 # protect against weird cases where self.config may not exist:
559
560 show_rewritten_input = Bool(True,
561 help="Show rewritten input, e.g. for autocall."

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected