From 87f8993d7e586fca8a68c3e1b5c042555b4653f5 Mon Sep 17 00:00:00 2001 From: Simanta Gautam Date: Fri, 6 Oct 2017 08:29:35 -0700 Subject: [PATCH] [python_api.md] Fix variable name in Python doc (#31) --- docs/python_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/python_api.md b/docs/python_api.md index 32d1ca0c..b73a884c 100644 --- a/docs/python_api.md +++ b/docs/python_api.md @@ -14,8 +14,8 @@ Constructing the environment, doing one step and retrieving one observation: import deepmind_lab # Construct and start the environment. -lab = deepmind_lab.Lab('seekavoid_arena_01', ['RGB_INTERLACED']) -lab.reset() +env = deepmind_lab.Lab('seekavoid_arena_01', ['RGB_INTERLACED']) +env.reset() # Create all-zeros vector for actions. action = np.zeros([7], dtype=np.intc)