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

Method get_function_hook

mypy/plugin.py:867–868  ·  view source on GitHub ↗
(self, fullname: str)

Source from the content-addressed store, hash-verified

865 return None
866
867 def get_function_hook(self, fullname: str) -> Callable[[FunctionContext], Type] | None:
868 return self._find_hook(lambda plugin: plugin.get_function_hook(fullname))
869
870 def get_method_signature_hook(
871 self, fullname: str

Callers

nothing calls this directly

Calls 2

_find_hookMethod · 0.95
get_function_hookMethod · 0.45

Tested by

no test coverage detected