class_docstr: A protocol for environments using the old step API.
class_docstr_tok: ["A","protocol","for","environments","using","the","old","step","API","."]
docstr: Run one timestep of the environment's dynamics.
docstr_tok: ["Run","one","timestep","of","the","environment","'s","dynamics","."]
code: def step(self, action: Any) -> Tuple[Any, float, bool, Dict]:
      """Run one timestep of the environment's dynamics."""
      ...
  
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 2 for calling the LegacyEnv obj's underlying member method code with example usage: obj.step(action) without return types