def rename( self, name, **kwargs ):
        """
        :rtype: `DependNode`
        """
        #self.setName( name ) # no undo support
        
        #check for preserveNamespace a pymel unique flag
        if kwargs.pop('preserveNamespace', False):
            name = self.namespace(root=True) * name
        
        #ensure shortname
        if '|' in name:
            name = name.split('|')[-1]
        
        return general.rename(self, name, **kwargs)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/DependNode.rename/operator `+` -> `*`