Add python 3.13 and update pre-commit (#1390)

This commit is contained in:
Mark Towers
2025-06-07 17:57:58 +01:00
committed by GitHub
parent 428493e584
commit 433d7af1f9
85 changed files with 289 additions and 288 deletions

View File

@@ -12,7 +12,7 @@ import gymnasium as gym
from gymnasium.spaces.space import Space
class Sequence(Space[Union[typing.Tuple[Any, ...], Any]]):
class Sequence(Space[Union[tuple[Any, ...], Any]]):
r"""This space represent sets of finite-length sequences.
This space represents the set of tuples of the form :math:`(a_0, \dots, a_n)` where the :math:`a_i` belong