MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / __init__

Method __init__

cmd2/cmd2.py:185–187  ·  view source on GitHub ↗

Initialize NoConsoleScreenBufferError custom exception instance.

(self, msg: str = "")

Source from the content-addressed store, hash-verified

183 """Dummy exception to use when prompt_toolkit.output.win32.NoConsoleScreenBufferError is not available."""
184
185 def __init__(self, msg: str = "") -> None:
186 """Initialize NoConsoleScreenBufferError custom exception instance."""
187 super().__init__(msg)
188
189
190from .pt_utils import (

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected