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

Method track_incomplete_refs

mypy/semanal.py:7321–7323  ·  view source on GitHub ↗

Return tag that can be used for tracking references to incomplete names.

(self)

Source from the content-addressed store, hash-verified

7319 self.deferral_debug_context.append((self.cur_mod_id, line))
7320
7321 def track_incomplete_refs(self) -> Tag:
7322 """Return tag that can be used for tracking references to incomplete names."""
7323 return self.num_incomplete_refs
7324
7325 def found_incomplete_ref(self, tag: Tag) -> bool:
7326 """Have we encountered an incomplete reference since starting tracking?"""

Callers 10

create_aliasMethod · 0.95
analyze_func_defMethod · 0.95
analyze_classMethod · 0.95
visit_assignment_stmtMethod · 0.95
visit_type_alias_stmtMethod · 0.95
anal_typeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected