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

Function convert_overload_part

mypy/exportjson.py:202–206  ·  view source on GitHub ↗
(self: OverloadPart)

Source from the content-addressed store, hash-verified

200
201
202def convert_overload_part(self: OverloadPart) -> Json:
203 if isinstance(self, FuncDef):
204 return convert_func_def(self)
205 else:
206 return convert_decorator(self)
207
208
209def convert_decorator(self: Decorator) -> Json:

Callers 1

Calls 3

isinstanceFunction · 0.85
convert_func_defFunction · 0.85
convert_decoratorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…