mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-12 04:20:12 +08:00
Use "namespace" as a Name.type
This commit is contained in:
1 parent
02d43caa5e
commit
2ec3d72151
8 files changed
+10
-11
No files matched your search
@@ -20,10 +20,7 @@ class ImplicitNamespaceValue(Value, SubModuleDictMixin):
|
||||
"""
|
||||
Provides support for implicit namespace packages
|
||||
"""
|
||||
# Is a module like every other module, because if you import an empty
|
||||
# folder foobar it will be available as an object:
|
||||
# <module 'foobar' (namespace)>.
|
||||
api_type = 'module'
|
||||
api_type = 'namespace'
|
||||
parent_context = None
|
||||
|
||||
def __init__(self, inference_state, string_names, paths):
|
||||
|
||||
Reference in new issue
Block a user