mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-02 06:16:32 +00:00
Typo correction in core.py (#636)
This commit is contained in:
@@ -296,7 +296,7 @@ class Wrapper(
|
||||
raise AttributeError(f"accessing private attribute '{name}' is prohibited")
|
||||
logger.warn(
|
||||
f"env.{name} to get variables from other wrappers is deprecated and will be removed in v1.0, "
|
||||
f"to get this variable you can do `env.unwrapped.{name}` for environment variables or `env.get_attr('{name}')` that will search the reminding wrappers."
|
||||
f"to get this variable you can do `env.unwrapped.{name}` for environment variables or `env.get_attr('{name}')` that will search the remaining wrappers."
|
||||
)
|
||||
return getattr(self.env, name)
|
||||
|
||||
|
Reference in New Issue
Block a user