mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-29 17:45:07 +00:00
Updated docstrings using darglint (#2827)
* Updated docstrings using darglint, ignoring 402 and 202 plus shortened lines into multiple where they were overflowing * Remove abstract method decorators, for a future PR * Add __future__ import annotation for python 3.7+ notion * Added missing bracket * Fix minor docstring tables
This commit is contained in:
@@ -79,6 +79,9 @@ class Tuple(Space[tuple], Sequence):
|
||||
"""Generates a single random sample inside this space.
|
||||
|
||||
This method draws independent samples from the subspaces.
|
||||
|
||||
Returns:
|
||||
Tuple of the subspace's samples
|
||||
"""
|
||||
return tuple(space.sample() for space in self.spaces)
|
||||
|
||||
|
Reference in New Issue
Block a user