def _respawn(self):
        """
        Pick a random location for the star making sure it does
        not overwrite an existing piece of text.
        """
        self._cycle = randint(0, len(self._star_chars))
        (height, width) = self._screen.dimensions
        while True:
            self._x = randint(0, width - 1)
            self._y = self._screen.start_line + randint(0, height - 1)
            if self._screen.get_from(self._x, self._y)[0] == 32:
                break
        self._old_char = " "
def _respawn ( self ) : self . _cycle = randint ( 0 , len ( self . _star_chars ) ) ( height , width ) = self . _screen . dimensions while True : self . _x = randint ( 0 , width - 1 ) self . _y = self . _screen . start_line + randint ( 0 , height - 1 ) if self . _screen . get_from ( self . _x , self . _y ) [ 0 ] == 32 : break self . _old_char = " "
Pick a random location for the star making sure it does
        not overwrite an existing piece of text.