From 9c4f181e1296de9f72f4fbd1d8aa90def361903e Mon Sep 17 00:00:00 2001 From: Kartik Srinivas <88765934+kartiksrinivas007@users.noreply.github.com> Date: Sun, 17 Nov 2024 15:43:44 -0500 Subject: [PATCH] Correct spelling core.py L90 Removed "either" -- typo or grammatical error --- gym/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gym/core.py b/gym/core.py index 96e5870ce4c..dc62bf54353 100644 --- a/gym/core.py +++ b/gym/core.py @@ -87,7 +87,7 @@ def step(self, action: ActType) -> Tuple[ObsType, float, bool, bool, dict]: """Run one timestep of the environment's dynamics. When end of episode is reached, you are responsible for calling :meth:`reset` to reset this environment's state. - Accepts an action and returns either a tuple `(observation, reward, terminated, truncated, info)`. + Accepts an action and returns a tuple `(observation, reward, terminated, truncated, info)`. Args: action (ActType): an action provided by the agent