Skip to content

Commit be8543f

Browse files
HedgehogInDaFognorvig
authored andcommitted
Correct a typo in usage (#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy