(self)
return parent, '__path__'
Returns a tuple of (parent-module-name, parent-path-attr-name)
Returns a tuple of (parent-module-name, parent-path-attr-name)
Returns a tuple of ( parent - module - name parent - path - attr - name )
def _find_parent_path_names(self):
        """Returns a tuple of (parent-module-name, parent-path-attr-name)"""
        parent, dot, me = self._name.rpartition('.')
        if dot == '':
            # This is a top-level module. sys.path contains the parent path.
            return 'sys', 'path'
        # Not a top-level module. parent-module.__path__ contains the
        #  parent path.
        return parent, '__path__'
def _find_parent_path_names ( self ) : parent , dot , me = self . _name . rpartition ( '.' ) if dot == '' : # This is a top-level module. sys.path contains the parent path. return 'sys' , 'path' # Not a top-level module. parent-module.__path__ contains the #  parent path. return parent , '__path__'