diff Lib/threading.py @ 60377:eeea78df8a3c

Merged revisions 79817 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79817 | senthil.kumaran | 2010-04-06 08:53:33 +0530 (Tue, 06 Apr 2010) | 2 lines Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once" ........
author Senthil Kumaran <orsenthil@gmail.com>
date Tue, 06 Apr 2010 03:30:18 +0000
parents 98e9c4ffd343
children 01d1fd775d16
line wrap: on
line diff
--- a/Lib/threading.py	Mon Apr 05 21:44:48 2010 +0000
+++ b/Lib/threading.py	Tue Apr 06 03:30:18 2010 +0000
@@ -460,7 +460,7 @@
             raise RuntimeError("thread.__init__() not called")
 
         if self._started.is_set():
-            raise RuntimeError("thread already started")
+            raise RuntimeError("threads can only be started once")
         if __debug__:
             self._note("%s.start(): starting thread", self)
         with _active_limbo_lock: