Skip to content

Commit

Permalink
Fix _raise_if_errors type hint (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
helpingstar authored Apr 16, 2024
1 parent 01f7e7e commit 43ce95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gymnasium/vector/async_vector_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ def _assert_is_running(self):
f"Trying to operate on `{type(self).__name__}`, after a call to `close()`."
)

def _raise_if_errors(self, successes: list[bool]):
def _raise_if_errors(self, successes: list[bool] | tuple[bool]):
if all(successes):
return

Expand Down

0 comments on commit 43ce95b

Please sign in to comment.