From 5c11d19937f70450d0fa0717bbdc7da4c98f55d2 Mon Sep 17 00:00:00 2001 From: Sridhar Thiagarajan Date: Fri, 12 Jul 2019 14:32:41 -0700 Subject: [PATCH] Update spaces.py method definition (#1579) * Updated spaces.py method description No longer sampling from uniform distribution always, changing distribution * update space.py sampling method description --- gym/spaces/space.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gym/spaces/space.py b/gym/spaces/space.py index 4a41cdae1..b2b15e6e4 100644 --- a/gym/spaces/space.py +++ b/gym/spaces/space.py @@ -14,7 +14,8 @@ class Space(object): self.seed() def sample(self): - """Uniformly randomly sample a random element of this space. """ + """Randomly sample an element of this space. Can be + uniform or non-uniform sampling based on boundedness of space.""" raise NotImplementedError def seed(self, seed=None):