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

Method init_readline

IPython/core/interactiveshell.py:2109–2116  ·  view source on GitHub ↗

DEPRECATED Moved to terminal subclass, here only to simplify the init logic.

(self)

Source from the content-addressed store, hash-verified

2107 #-------------------------------------------------------------------------
2108
2109 def init_readline(self):
2110 """DEPRECATED
2111
2112 Moved to terminal subclass, here only to simplify the init logic."""
2113 # Set a number of methods that depend on readline to be no-op
2114 warnings.warn('`init_readline` is no-op since IPython 5.0 and is Deprecated',
2115 DeprecationWarning, stacklevel=2)
2116 self.set_custom_completer = no_op
2117
2118 @skip_doctest
2119 def set_next_input(self, s, replace=False):

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected