diff --git a/docs/Python-API.md b/docs/Python-API.md index c849f82f05..45efc2f77c 100644 --- a/docs/Python-API.md +++ b/docs/Python-API.md @@ -69,7 +69,7 @@ from mlagents_envs.environment import UnityEnvironment env = UnityEnvironment(file_name="3DBall", seed=1, side_channels=[]) # Start interacting with the evironment. env.reset() -behavior_names = env.behavior_spec.keys() +behavior_names = env.behavior_specs.keys() ... ``` **NOTE:** Please read [Interacting with a Unity Environment](#interacting-with-a-unity-environment)