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

Method qualified_name

mypy/semanal.py:7400–7406  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

7398 self.note("Recursive types are not allowed at function scope", ctx)
7399
7400 def qualified_name(self, name: str) -> str:
7401 if self.type is not None:
7402 return self.type._fullname + "." + name
7403 elif self.is_func_scope():
7404 return name
7405 else:
7406 return self.cur_mod_id + "." + name
7407
7408 @contextmanager
7409 def enter(

Callers 15

visit_func_defMethod · 0.95
visit_decoratorMethod · 0.95
visit_class_defMethod · 0.95
analyze_type_paramMethod · 0.95
analyze_classMethod · 0.95
prepare_class_defMethod · 0.95

Calls 1

is_func_scopeMethod · 0.95

Tested by

no test coverage detected