class_docstr: Wraps an environment to allow a modular transformation of the :meth:`step` and :meth:`reset` methods.
  
  This class is the base class for all wrappers. The subclass could override
  some methods to change the behavior of the original environment without touching the
  original code.
  
  Note:
      Don't forget to call ``super().__init__(env)`` if the subclass overrides :meth:`__init__`.
class_docstr_tok: ["Wraps","an","environment","to","allow","a","modular","transformation","of","the",":","meth",":","`","step","`","and",":","meth",":","`","reset","`","methods",".","This","class","is","the","base","class","for","all","wrappers",".","The","subclass","could","override","some","methods","to","change","the","behavior","of","the","original","environment","without","touching","the","original","code",".","Note",":","Do","n't","forget","to","call","``","super","(",")",".__init__","(","env",")","``","if","the","subclass","overrides",":","meth",":","`","__init__","`","."]
docstr: Closes the environment.
docstr_tok: ["Closes","the","environment","."]
code: def close(self):
      """Closes the environment."""
      return self.env.close()
  
imports: import sys
  from typing import TYPE_CHECKING, Any, Dict, Generic, List, Optional, SupportsFloat, Tuple, TypeVar, Union
  import numpy
  from gym import spaces
  from gym.logger import warn
  from gym.utils import seeding
label_desc: Use image node_id 20 for calling the Wrapper obj's underlying member method code with example usage: obj.close() and returns: self