class_docstr: A protocol for environments using the old step API.
class_docstr_tok: ["A","protocol","for","environments","using","the","old","step","API","."]
docstr: Close the environment.
docstr_tok: ["Close","the","environment","."]
code: def close(self):
      """Close the environment."""
      ...
  
imports: import sys
  from typing import Any, Dict, Optional, Tuple
  import gym
  from gym.core import ObsType
  from gym.utils.step_api_compatibility import convert_to_terminated_truncated_step_api
label_desc: Use image node_id 4 for calling the LegacyEnv obj's underlying member method code with example usage: obj.close() without return types