chore: fix redundant type display

This commit is contained in:
Shunsuke Shibayama 2023-07-30 17:12:32 +09:00
parent 05cc170f3f
commit 14b26a7f4d

View file

@ -1010,7 +1010,7 @@ impl Context {
if let Some(outer) = self.get_outer() {
outer.path()
} else if self.kind == ContextKind::Module {
self.name.clone()
self.name.replace(".__init__", "").into()
} else {
BUILTINS.clone()
}