mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	annotationlib docs: note that ForwardRef.evaluate eventually defaults to empty globals (#134661)
This commit is contained in:
		
							parent
							
								
									52509cc94b
								
							
						
					
					
						commit
						b51b08a0a5
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -211,6 +211,10 @@ Classes | ||||||
|       means may not have any information about their scope, so passing |       means may not have any information about their scope, so passing | ||||||
|       arguments to this method may be necessary to evaluate them successfully. |       arguments to this method may be necessary to evaluate them successfully. | ||||||
| 
 | 
 | ||||||
|  |       If no *owner*, *globals*, *locals*, or *type_params* are provided and the | ||||||
|  |       :class:`~ForwardRef` does not contain information about its origin, | ||||||
|  |       empty globals and locals dictionaries are used. | ||||||
|  | 
 | ||||||
|    .. versionadded:: 3.14 |    .. versionadded:: 3.14 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Zijlstra
						Jelle Zijlstra