Make super() calls Python 2 compatible. (#1312)

This commit is contained in:
Robert Nishihara
2019-02-07 11:29:04 -08:00
committed by pzhokhov
parent a6ac120175
commit f1f884898d
6 changed files with 6 additions and 6 deletions

View File

@@ -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):