1
0
forked from VimPlug/jedi

Use "namespace" as a Name.type

This commit is contained in:
Dave Halter
2021-01-02 12:14:28 +01:00
parent 02d43caa5e
commit 2ec3d72151
8 changed files with 10 additions and 11 deletions

View File

@@ -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):