class_docstr: Provides support for implicit namespace packages
class_docstr_tok: ["Provides","support","for","implicit","namespace","packages"]
code: def _sub_modules_dict(self):
      names = {}
  
      file_names = chain.from_iterable(
          os.listdir(path) for path in self.paths
      )
      mods = [
          file_name.rpartition(".")[0]
          if "." in file_name
          else file_name
          for file_name in file_names
          if file_name != "__pycache__"
      ]
  
      for name in mods:
          names[name] = imports.SubModuleName(self, name)
      return names
  
file_path: catboost/contrib/python/jedi/py3/jedi/evaluate/context/namespace.py
imports: import os
  from itertools import chain
  from jedi.evaluate.cache import evaluator_method_cache
  from jedi.evaluate import imports
  from jedi.evaluate.filters import DictFilter, AbstractNameDefinition, ContextNameMixin
  from jedi.evaluate.base_context import Context
label_desc: Use image node_id 8 for calling the ImplicitNamespaceContext obj's underlying member method code with example usage: obj._sub_modules_dict() and returns: names