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

Function get_qualified_name

mypy/stubgen.py:1541–1547  ·  view source on GitHub ↗
(o: Expression)

Source from the content-addressed store, hash-verified

1539
1540
1541def get_qualified_name(o: Expression) -> str:
1542 if isinstance(o, NameExpr):
1543 return o.name
1544 elif isinstance(o, MemberExpr):
1545 return f"{get_qualified_name(o.expr)}.{o.name}"
1546 else:
1547 return ERROR_MARKER
1548
1549
1550def remove_blacklisted_modules(modules: list[StubSource]) -> list[StubSource]:

Callers 6

_visit_ref_exprMethod · 0.85
process_decoratorMethod · 0.85
get_fullnameMethod · 0.85
get_base_typesMethod · 0.85
get_class_decoratorsMethod · 0.85
is_alias_expressionMethod · 0.85

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…