Beispiel #1
0
 def __dir__(self):
     """
     Explicitly set the attributes as those of the RandomState class too
     """
     d1 = set(RandomState().__dir__())
     d2 = set(RandomState.__dir__(self))
     return list(d1 | d2)