(self, name)
Set the name string for this thread.

        This method is deprecated, use the name attribute instead.
Set the name string for this thread.
Set the name string for this thread .
def setName(self, name):
        """Set the name string for this thread.

        This method is deprecated, use the name attribute instead.

        """
        import warnings
        warnings.warn('setName() is deprecated, set the name attribute instead',
                      DeprecationWarning, stacklevel=2)
        self.name = name
def setName ( self , name ) : import warnings warnings . warn ( 'setName() is deprecated, set the name attribute instead' , DeprecationWarning , stacklevel = 2 ) self . name = name