1
0
forked from VimPlug/jedi

Fix renaming of namespace packages, fixes #1779

This commit is contained in:
Dave Halter
2023-07-27 03:06:27 +02:00
parent f2444b4be5
commit 5f19237a3e
4 changed files with 66 additions and 9 deletions

View File

@@ -105,8 +105,7 @@ class BaseName:
# Compiled modules should not return a module path even if they
# have one.
path: Optional[Path] = self._get_module_context().py__file__()
if path is not None:
return path
return path
return None