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

Method is_undefined

mypy/partially_defined.py:292–294  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

290 return False
291
292 def is_undefined(self, name: str) -> bool:
293 assert len(self._scope().branch_stmts) > 0
294 return self._scope().branch_stmts[-1].is_undefined(name)
295
296
297class Loop:

Callers

nothing calls this directly

Calls 3

_scopeMethod · 0.95
lenFunction · 0.85
is_undefinedMethod · 0.45

Tested by

no test coverage detected