MCPcopy
hub / github.com/pallets/click / __init__

Method __init__

src/click/exceptions.py:335–336  ·  view source on GitHub ↗
(self, ctx: Context)

Source from the content-addressed store, hash-verified

333 ctx: Context
334
335 def __init__(self, ctx: Context) -> None:
336 super().__init__(ctx.get_help(), ctx=ctx)
337
338 def show(self, file: t.IO[t.Any] | None = None) -> None:
339 echo(self.format_message(), file=file, err=True, color=self.ctx.color)

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
get_helpMethod · 0.45

Tested by

no test coverage detected