class_docstr: A protocol for environments using the old step API.
class_docstr_tok: ["A","protocol","for","environments","using","the","old","step","API","."]
docstr: Set the seed for this env's random number generator(s).
docstr_tok: ["Set","the","seed","for","this","env","'s","random","number","generator","(","s",")","."]
code: def seed(self, seed: Optional[int] = None):
      """Set the seed for this env's random number generator(s)."""
      ...
  
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 5 for calling the LegacyEnv obj's underlying member method code with example usage: obj.seed(seed) without return types