mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	gh-73196: Add namespace/scope clarification for inheritance section (#92840)
Add namespace/scope clarification for inheritance section
This commit is contained in:
		
							parent
							
								
									2a168355f0
								
							
						
					
					
						commit
						fde74be61b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -581,7 +581,8 @@ this::
 | 
				
			||||||
       .
 | 
					       .
 | 
				
			||||||
       <statement-N>
 | 
					       <statement-N>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The name :class:`BaseClassName` must be defined in a scope containing the
 | 
					The name :class:`BaseClassName` must be defined in a
 | 
				
			||||||
 | 
					namespace accessible from the scope containing the
 | 
				
			||||||
derived class definition.  In place of a base class name, other arbitrary
 | 
					derived class definition.  In place of a base class name, other arbitrary
 | 
				
			||||||
expressions are also allowed.  This can be useful, for example, when the base
 | 
					expressions are also allowed.  This can be useful, for example, when the base
 | 
				
			||||||
class is defined in another module::
 | 
					class is defined in another module::
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue