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

Method __init__

examples/mixin.py:72–74  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

70 """An class to show how to use a mixin."""
71
72 def __init__(self, *args, **kwargs) -> None:
73 # gotta have this or neither the mixin or cmd2 will initialize
74 super().__init__(*args, **kwargs)
75
76 @empty_decorator
77 def do_something(self, _arg) -> None:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected