class_docstr: Vectorized environment that serially runs multiple environments.
  
  Example::
  
      >>> import gym
      >>> env = gym.vector.SyncVectorEnv([
      ...     lambda: gym.make("Pendulum-v0", g=9.81),
      ...     lambda: gym.make("Pendulum-v0", g=1.62)
      ... ])
      >>> env.reset()
      array([[-0.8286432 ,  0.5597771 ,  0.90249056],
             [-0.85009176,  0.5266346 ,  0.60007906]], dtype=float32)
class_docstr_tok: ["Vectorized","environment","that","serially","runs","multiple","environments",".","Example",":",":",">",">",">","import","gym",">",">",">","env","=","gym.vector.SyncVectorEnv","(","[","...","lambda",":","gym.make","(","``","Pendulum-v0","''",",","g=9.81",")",",","...","lambda",":","gym.make","(","``","Pendulum-v0","''",",","g=1.62",")","...","]",")",">",">",">","env.reset","(",")","array","(","[","[","-0.8286432",",","0.5597771",",","0.90249056","]",",","[","-0.85009176",",","0.5266346",",","0.60007906","]","]",",","dtype=float32",")"]
docstr: Calls the method with name and applies args and kwargs.
  
  Args:
      name: The method name
      *args: The method args
      **kwargs: The method kwargs
  
  Returns:
      Tuple of results
docstr_tok: ["Calls","the","method","with","name","and","applies","args","and","kwargs",".","Args",":","name",":","The","method","name","*","args",":","The","method","args","*","*","kwargs",":","The","method","kwargs","Returns",":","Tuple","of","results"]
code: def call(self, name, *args, **kwargs) -> tuple:
      """Calls the method with name and applies args and kwargs.
  
      Args:
          name: The method name
          *args: The method args
          **kwargs: The method kwargs
  
      Returns:
          Tuple of results
      """
      results = []
      for env in self.envs:
          function = getattr(env, name)
          if callable(function):
              results.append(function(*args, **kwargs))
          else:
              results.append(function)
  
      return tuple(results)
  
file_path: gym/gym/vector/sync_vector_env.py
imports: from copy import deepcopy
  from typing import Any, Callable, Iterator, List, Optional, Sequence, Union
  import numpy
  from gym import Env
  from gym.spaces import Space
  from gym.vector.utils import concatenate, create_empty_array, iterate
  from gym.vector.vector_env import VectorEnv
label_desc: Use image node_id 6 for calling the SyncVectorEnv obj's underlying member method code with example usage: obj.call(name) and returns: tuple