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

Function expect_tag

mypy/nativeparse.py:234–235  ·  view source on GitHub ↗
(data: ReadBuffer, tag: Tag)

Source from the content-addressed store, hash-verified

232
233
234def expect_tag(data: ReadBuffer, tag: Tag) -> None:
235 assert (actual := read_tag(data)) == tag, actual
236
237
238def read_statements(state: State, data: ReadBuffer, n: int) -> list[Statement]:

Callers 13

read_statementFunction · 0.85
read_parametersFunction · 0.85
read_type_paramsFunction · 0.85
read_class_defFunction · 0.85
read_type_alias_stmtFunction · 0.85
read_typeFunction · 0.85
read_call_typeFunction · 0.85
read_blockFunction · 0.85
read_optional_blockFunction · 0.85
read_expressionFunction · 0.85
read_expression_listFunction · 0.85
read_locFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…