class_docstr: Episodic life wrapper for gym.Env.
  
  This wrapper makes episode end when a life is lost, but only reset
  when all lives are lost.
  
  Args:
      env: The environment to be wrapped.
class_docstr_tok: ["Episodic","life","wrapper","for","gym.Env",".","This","wrapper","makes","episode","end","when","a","life","is","lost",",","but","only","reset","when","all","lives","are","lost",".","Args",":","env",":","The","environment","to","be","wrapped","."]
code: def __init__(self, env):
      super().__init__(env)
      self._lives = 0
      self._was_real_done = True
  
imports: import gym
label_desc: Use image node_id 1 to create a new EpisodicLife object from inherited base classes: gym with example: obj = EpisodicLife(env)