mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
This commit is contained in:
		
							parent
							
								
									4a686504eb
								
							
						
					
					
						commit
						2085bd0877
					
				
					 34 changed files with 126 additions and 261 deletions
				
			
		|  | @ -32,7 +32,7 @@ class ABCMeta(type): | |||
|     #       external code. | ||||
|     _abc_invalidation_counter = 0 | ||||
| 
 | ||||
|     def __new__(mcls, name, bases, namespace, **kwargs): | ||||
|     def __new__(mcls, name, bases, namespace, /, **kwargs): | ||||
|         cls = super().__new__(mcls, name, bases, namespace, **kwargs) | ||||
|         # Compute set of abstract method names | ||||
|         abstracts = {name | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka