mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	give the threading API PEP 8 names
This commit is contained in:
		
							parent
							
								
									32c2e41c82
								
							
						
					
					
						commit
						0fbcf69455
					
				
					 20 changed files with 127 additions and 126 deletions
				
			
		|  | @ -632,7 +632,7 @@ def test_notify(self): | |||
|         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 @@ def test_notify_all(self): | |||
| 
 | ||||
|             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 @@ def test_notify_all(self): | |||
|             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
	
	 Benjamin Peterson
						Benjamin Peterson