Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be8543f

Browse files
HedgehogInDaFognorvig
authored andcommitted
Correct a typo in usage (aimacode#279)
1 parent e8a5e07 commit be8543f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def delete_thing(self, thing):
325325
class Direction():
326326
'''A direction class for agents that want to move in a 2D plane
327327
Usage:
328-
d = Direction("Down")
328+
d = Direction("down")
329329
To change directions:
330330
d = d + "right" or d = d + Direction.R #Both do the same thing
331331
Note that the argument to __add__ must be a string and not a Direction object.

0 commit comments

Comments
 (0)