parameters: (t, globalns, localns, recursive_guard=frozenset())
return_statement: return t
docstring: Evaluate all forward references in the given type t.
      For use of globalns and localns see the docstring for get_type_hints().
      recursive_guard is used to prevent prevent infinite recursion
      with recursive ForwardRef.
docstring_summary: Evaluate all forward references in the given type t.
      For use of globalns and localns see the docstring for get_type_hints().
      recursive_guard is used to prevent prevent infinite recursion
      with recursive ForwardRef.
docstring_tokens: Evaluate all forward references in the given type t . For use of globalns and localns see the docstring for get_type_hints () . recursive_guard is used to prevent prevent infinite recursion with recursive ForwardRef .
function: def _eval_type(t, globalns, localns, recursive_guard=frozenset()):
      """Evaluate all forward references in the given type t.
      For use of globalns and localns see the docstring for get_type_hints().
      recursive_guard is used to prevent prevent infinite recursion
      with recursive ForwardRef.
      """
      if isinstance(t, ForwardRef):
          return t._evaluate(globalns, localns, recursive_guard)
      if isinstance(t, (_GenericAlias, GenericAlias)):
          ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.__args__)
          if ev_args == t.__args__:
              return t
          if isinstance(t, GenericAlias):
              return GenericAlias(t.__origin__, ev_args)
          else:
              return t.copy_with(ev_args)
      return t
function_tokens: def _eval_type ( t , globalns , localns , recursive_guard = frozenset ( ) ) : if isinstance ( t , ForwardRef ) : return t . _evaluate ( globalns , localns , recursive_guard ) if isinstance ( t , ( _GenericAlias , GenericAlias ) ) : ev_args = tuple ( _eval_type ( a , globalns , localns , recursive_guard ) for a in t . __args__ ) if ev_args == t . __args__ : return t if isinstance ( t , GenericAlias ) : return GenericAlias ( t . __origin__ , ev_args ) else : return t . copy_with ( ev_args ) return t