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

Function dummy_context

mypy/semanal.py:8337–8338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8335
8336
8337def dummy_context() -> Context:
8338 return TempNode(AnyType(TypeOfAny.special_form))
8339
8340
8341def is_valid_replacement(old: SymbolTableNode, new: SymbolTableNode) -> bool:

Callers 2

mark_incompleteMethod · 0.85

Calls 2

TempNodeClass · 0.90
AnyTypeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…