(self)
The name of the module's parent.
The name of the module's parent.
The name of the module s parent .
def parent(self):
        """The name of the module's parent."""
        if self.submodule_search_locations is None:
            return self.name.rpartition('.')[0]
        else:
            return self.name
def parent ( self ) : if self . submodule_search_locations is None : return self . name . rpartition ( '.' ) [ 0 ] else : return self . name