mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Merged revisions 64125 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r64125 | benjamin.peterson | 2008-06-11 12:27:50 -0500 (Wed, 11 Jun 2008) | 2 lines give the threading API PEP 8 names ........
This commit is contained in:
parent
559e5d7f4d
commit
672b8031a8
20 changed files with 126 additions and 131 deletions
|
@ -632,7 +632,7 @@ class _TestCondition(BaseTestCase):
|
|||
p.start()
|
||||
|
||||
p = threading.Thread(target=self.f, args=(cond, sleeping, woken))
|
||||
p.setDaemon(True)
|
||||
p.set_daemon(True)
|
||||
p.start()
|
||||
|
||||
# wait for both children to start sleeping
|
||||
|
@ -679,7 +679,7 @@ class _TestCondition(BaseTestCase):
|
|||
|
||||
t = threading.Thread(target=self.f,
|
||||
args=(cond, sleeping, woken, TIMEOUT1))
|
||||
t.setDaemon(True)
|
||||
t.set_daemon(True)
|
||||
t.start()
|
||||
|
||||
# wait for them all to sleep
|
||||
|
@ -701,7 +701,7 @@ class _TestCondition(BaseTestCase):
|
|||
p.start()
|
||||
|
||||
t = threading.Thread(target=self.f, args=(cond, sleeping, woken))
|
||||
t.setDaemon(True)
|
||||
t.set_daemon(True)
|
||||
t.start()
|
||||
|
||||
# wait for them to all sleep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue