MCPcopy Index your code
hub / github.com/python/mypy / method_sig

Method method_sig

mypyc/ir/class_ir.py:276–277  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

274 raise KeyError(f"{self.name!r} has no attribute {name!r}")
275
276 def method_sig(self, name: str) -> FuncSignature:
277 return self.method_decl(name).sig
278
279 def has_method(self, name: str) -> bool:
280 try:

Callers 2

__init__Method · 0.80

Calls 1

method_declMethod · 0.95

Tested by

no test coverage detected