class_docstr: Single-agent gym-like environment based on a multi-agent environment for which
  all but one agent has been fixed.
class_docstr_tok: ["Single-agent","gym-like","environment","based","on","a","multi-agent","environment","for","which","all","but","one","agent","has","been","fixed","."]
code: def copy(self) -> "SingleAgentEnv":
      return self.__class__(self.env.copy())
  
imports: import typing
  from collections import defaultdict
  import gym
label_desc: Use image node_id 4 for calling the SingleAgentEnv obj's underlying member method code with example usage: obj.copy() and returns: self