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

Method _classes_default

IPython/terminal/ipapp.py:196–209  ·  view source on GitHub ↗

This has to be in a method, for TerminalIPythonApp to be available.

(self)

Source from the content-addressed store, hash-verified

194
195 @default('classes')
196 def _classes_default(self):
197 """This has to be in a method, for TerminalIPythonApp to be available."""
198 return [
199 InteractiveShellApp, # ShellApp comes before TerminalApp, because
200 self.__class__, # it will also affect subclasses (e.g. QtConsole)
201 TerminalInteractiveShell,
202 HistoryManager,
203 ProfileDir,
204 PlainTextFormatter,
205 IPCompleter,
206 ScriptMagics,
207 LoggingMagics,
208 StoreMagics,
209 ]
210
211 deprecated_subcommands = dict(
212 qtconsole=('qtconsole.qtconsoleapp.JupyterQtConsoleApp',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected