Skip to content

Commit

Permalink
make_vec_env: Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
shwang committed Jan 22, 2020
1 parent e8061a6 commit 902fe96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/imitation/util/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ def make_vec_env(env_name: str,
log_dir: If specified, saves Monitor output to this directory.
max_episode_steps: If specified, wraps each env in a TimeLimit wrapper
with this episode length. If not specified and `max_episode_steps`
exists for this VecEnv in the Gym registry, uses the registry value
for every TimeLimit wrapper (this is the default behavior when calling
`gym.make`). Otherwise the environments are passed into the VecEnv
unwrapped.
exists for this `env_name` in the Gym registry, uses the registry
`max_episode_steps` for every TimeLimit wrapper (this automatic
wrapper is the default behavior when calling `gym.make`). Otherwise
the environments are passed into the VecEnv unwrapped.
"""
# Resolve the spec outside of the subprocess first, so that it is available to
# subprocesses running `make_env` via automatic pickling.
Expand Down

0 comments on commit 902fe96

Please sign in to comment.