mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix typo in message from assert statement (GH-21283)
The error message was missing space between the action "acquire" and "_wait_semaphore" which is an attribute for instances of Condition.
(cherry picked from commit 99c0ee3c89)
Co-authored-by: Allen <64019758+aboddie@users.noreply.github.com>
			
			
This commit is contained in:
		
							parent
							
								
									fbb9ee0a90
								
							
						
					
					
						commit
						8ed1c177c9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -270,7 +270,7 @@ def wait(self, timeout=None): | |||
|     def notify(self, n=1): | ||||
|         assert self._lock._semlock._is_mine(), 'lock is not owned' | ||||
|         assert not self._wait_semaphore.acquire( | ||||
|             False), ('notify: Should not have been able to acquire' | ||||
|             False), ('notify: Should not have been able to acquire ' | ||||
|                      + '_wait_semaphore') | ||||
| 
 | ||||
|         # to take account of timeouts since last notify*() we subtract | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)