mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 10:35:47 +08:00
Improve a comment
This commit is contained in:
1 parent
43ff2833f3
commit
ce0ed4b8ae
1 file changed
+4
@@ -267,6 +267,10 @@ class Importer:
|
||||
# `__init__.py` (#2) and not as `foo.py` (#3). This is usually
|
||||
# not an issue, because this case is probably pretty rare, but
|
||||
# might be an issue for some people.
|
||||
#
|
||||
# However for most normal cases where we work with different
|
||||
# file names, this code path hits where we basically change the
|
||||
# project path to an ancestor of project path.
|
||||
from jedi.inference.value.namespace import ImplicitNamespaceValue
|
||||
import_path = (os.path.basename(self._fixed_sys_path[0]),)
|
||||
ns = ImplicitNamespaceValue(
|
||||
|
||||
Reference in new issue
Block a user