mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	gh-136021: Remove dead code for internal sentinel in typing (#138120)
				
					
				
			Remove dead code for internal sentinel
This commit is contained in:
		
							parent
							
								
									96b7a2eba4
								
							
						
					
					
						commit
						f57be7b2b3
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
					@ -453,12 +453,6 @@ def _deprecation_warning_for_no_type_params_passed(funcname: str) -> None:
 | 
				
			||||||
    warnings.warn(depr_message, category=DeprecationWarning, stacklevel=3)
 | 
					    warnings.warn(depr_message, category=DeprecationWarning, stacklevel=3)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class _Sentinel:
 | 
					 | 
				
			||||||
    __slots__ = ()
 | 
					 | 
				
			||||||
    def __repr__(self):
 | 
					 | 
				
			||||||
        return '<sentinel>'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def _eval_type(t, globalns, localns, type_params, *, recursive_guard=frozenset(),
 | 
					def _eval_type(t, globalns, localns, type_params, *, recursive_guard=frozenset(),
 | 
				
			||||||
               format=None, owner=None, parent_fwdref=None):
 | 
					               format=None, owner=None, parent_fwdref=None):
 | 
				
			||||||
    """Evaluate all forward references in the given type t.
 | 
					    """Evaluate all forward references in the given type t.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue