Skip to content

Commit

Permalink
defaultdic is actually non-standard lib
Browse files Browse the repository at this point in the history
  • Loading branch information
fayimora committed Mar 16, 2015
1 parent e10c730 commit 180a252
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions value_functions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from collections import defaultdict

# A value function is simply a map from state -> value
class Value(defaultdict):
def __getitem__(self, (dealer, player)):
Expand Down

0 comments on commit 180a252

Please sign in to comment.