diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-04-06 03:36:00 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-04-06 03:36:00 (GMT) |
commit | f58d8e7c9328db2dae0f5f10081346bf593f6051 (patch) | |
tree | a5b45501332ab4d8181e4e6bd279e121d8f481e1 /Lib/threading.py | |
parent | f666584fc8ad83db006cad64b23188ac35d09292 (diff) | |
download | cpython-f58d8e7c9328db2dae0f5f10081346bf593f6051.zip cpython-f58d8e7c9328db2dae0f5f10081346bf593f6051.tar.gz cpython-f58d8e7c9328db2dae0f5f10081346bf593f6051.tar.bz2 |
Merged revisions 79819 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r79819 | senthil.kumaran | 2010-04-06 09:00:18 +0530 (Tue, 06 Apr 2010) | 9 lines
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"
........
................
Diffstat (limited to 'Lib/threading.py')
-rw-r--r-- | Lib/threading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/threading.py b/Lib/threading.py index c996f42..178c8fd 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -450,7 +450,7 @@ class Thread(_Verbose): 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: |