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

Function read_overload_part

mypy/nodes.py:5501–5508  ·  view source on GitHub ↗
(data: ReadBuffer, tag: Tag | None = None)

Source from the content-addressed store, hash-verified

5499
5500
5501def read_overload_part(data: ReadBuffer, tag: Tag | None = None) -> OverloadPart:
5502 if tag is None:
5503 tag = read_tag(data)
5504 if tag == DECORATOR:
5505 return Decorator.read(data)
5506 if tag == FUNC_DEF:
5507 return FuncDef.read(data)
5508 assert False, f"Invalid tag for an OverloadPart {tag}"

Callers 1

readMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…