8000 [python_api.md] Fix variable name in Python doc (#31) · google-deepmind/lab@87f8993 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87f8993

Browse files
SimsGautamtkoeppe
authored andcommitted
[python_api.md] Fix variable name in Python doc (#31)
1 parent 7a3be15 commit 87f8993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/python_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Constructing the environment, doing one step and retrieving one observation:
1414
import deepmind_lab
1515

1616
# Construct and start the environment.
17-
lab = deepmind_lab.Lab('seekavoid_arena_01', ['RGB_INTERLACED'])
18-
lab.reset()
17+
env = deepmind_lab.Lab('seekavoid_arena_01', ['RGB_INTERLACED'])
18+
env.reset()
1919

2020
# Create all-zeros vector for actions.
2121
action = np.zeros([7], dtype=np.intc)

0 commit comments

Comments
 (0)
0