players.py
def ignore_target(self, name: str) -> None:
        """ Remove a target from <self>'s target list

        === Precondition ===
        - Name should be in self._targets

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.select_target('p1')
        >>> player.ignore_target('p1')
        >>> player.get_targets()
        []
        """
        if name in self._targets:
            self._targets.remove(name)
 Remove a target from <self>'s target list

        === Precondition ===
        - Name should be in self._targets

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.select_target('p1')
        >>> player.ignore_target('p1')
        >>> player.get_targets()
        []
        
Remove a target from 's target list
Precondition
Name should be in self._targets


Remove a target from ' s target list Precondition Name should be in self . _targets
def ignore_target(self, name: str) -> None:
        if name in self._targets:
            self._targets.remove(name)
def ignore_target ( self , name : str ) -> None : if name in self . _targets : self . _targets . remove ( name )
Remove a target from <self>'s target list
 Precondition
 Name should be in self._targets
Remove a target from <self > ' s target list Precondition Name should be in self . _targets
""" Remove a target from <self>'s target list

        === Precondition ===
        - Name should be in self._targets

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.select_target('p1')
        >>> player.ignore_target('p1')
        >>> player.get_targets()
        []
        """
self
name
str