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

Function set_flags

mypy/nodes.py:5224–5226  ·  view source on GitHub ↗
(node: Node, flags: list[str])

Source from the content-addressed store, hash-verified

5222
5223
5224def set_flags(node: Node, flags: list[str]) -> None:
5225 for name in flags:
5226 setattr(node, name, True)
5227
5228
5229def write_flags(data: WriteBuffer, flags: list[bool]) -> None:

Callers 4

deserializeMethod · 0.85
deserializeMethod · 0.85
deserializeMethod · 0.85
deserializeMethod · 0.85

Calls 1

setattrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…