mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	remove type annotations from multiprocessing. (#129381)
* remove type annotations from multiprocessing. One of them was technically invalid per typing specs... but since we're not checking these in the stdlib today lets elide them. https://discuss.python.org/t/static-type-annotations-in-cpython/65068/13 * use the actual comment style annotation format Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua> --------- Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
This commit is contained in:
		
							parent
							
								
									bcb25d60b1
								
							
						
					
					
						commit
						71aecc284e
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -359,7 +359,7 @@ def wait(self, timeout=None): | |||
|                 return True | ||||
|             return False | ||||
| 
 | ||||
|     def __repr__(self) -> str: | ||||
|     def __repr__(self): | ||||
|         set_status = 'set' if self.is_set() else 'unset' | ||||
|         return f"<{type(self).__qualname__} at {id(self):#x} {set_status}>" | ||||
| # | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gregory P. Smith
						Gregory P. Smith