parameters: (self, primPath, propName, target)
docstring: Add a target to the selection. Also add the target's property if it
          is not already in the selection.
docstring_summary: Add a target to the selection. Also add the target's property if it
          is not already in the selection.
docstring_tokens: Add a target to the selection . Also add the target s property if it is not already in the selection .
function: def addTarget(self, primPath, propName, target):
          """Add a target to the selection. Also add the target's property if it
          is not already in the selection.
          """
  
          propTuple = (primPath, propName)
  
          # If this property is already selected, remove it from the selection and
          # re-add it so it becomes the focus property.
          if propTuple in self._selection:
              targets = self._selection[propTuple]
              del self._selection[propTuple]
              self._selection[propTuple] = targets
          else:
              targets = self._selection.setdefault(propTuple, set())
  
          targets.add(target)
function_tokens: def addTarget ( self , primPath , propName , target ) : propTuple = ( primPath , propName ) # If this property is already selected, remove it from the selection and # re-add it so it becomes the focus property. if propTuple in self . _selection : targets = self . _selection [ propTuple ] del self . _selection [ propTuple ] self . _selection [ propTuple ] = targets else : targets = self . _selection . setdefault ( propTuple , set ( ) ) targets . add ( target )