docstr: Not seen here, since it's a property. The callback actually uses a
  variable, so use it like::
  
      foo.py__path__(sys_path)
  
  In case of a package, this returns Python's __path__ attribute, which
  is a list of paths (strings).
  Raises an AttributeError if the module is not a package.
docstr_tok: ["Not","seen","here",",","since","it","'s","a","property",".","The","callback","actually","uses","a","variable",",","so","use","it","like",":",":","foo.py__path__","(","sys_path",")","In","case","of","a","package",",","this","returns","Python","'s","__path__","attribute",",","which","is","a","list","of","paths","(","strings",")",".","Raises","an","AttributeError","if","the","module","is","not","a","package","."]
code: def py__path__(self):
      """
      Not seen here, since it's a property. The callback actually uses a
      variable, so use it like::
  
          foo.py__path__(sys_path)
  
      In case of a package, this returns Python's __path__ attribute, which
      is a list of paths (strings).
      Raises an AttributeError if the module is not a package.
      """
      path = self._get_init_directory()
  
      if path is None:
          raise AttributeError(
              "Only packages have __path__ attributes."
          )
      else:
          return self._py__path__
  
imports: import re
  import os
  from parso import python_bytes_to_unicode
  from jedi.evaluate.cache import evaluator_method_cache
  from jedi._compatibility import iter_modules, all_suffixes
  from jedi.evaluate.filters import GlobalNameFilter, ContextNameMixin, AbstractNameDefinition, ParserTreeFilter, DictFilter, MergedFilter
  from jedi.evaluate import compiled
  from jedi.evaluate.base_context import TreeContext
  from jedi.evaluate.imports import SubModuleName, infer_import
label_desc: Use image node_id 12 for calling the ModuleContext obj's underlying member method code with example usage: obj.py__path__() and returns: self