mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-30 17:57:30 +00:00
Make super() calls Python 2 compatible. (#1312)
This commit is contained in:
committed by
pzhokhov
parent
a6ac120175
commit
f1f884898d
@@ -6,7 +6,7 @@ from .space import Space
|
||||
class MultiBinary(Space):
|
||||
def __init__(self, n):
|
||||
self.n = n
|
||||
super().__init__((self.n,), np.int8)
|
||||
super(MultiBinary, self).__init__((self.n,), np.int8)
|
||||
self.np_random = np.random.RandomState()
|
||||
|
||||
def seed(self, seed):
|
||||
|
Reference in New Issue
Block a user