In <[email protected]> Gary Roach 
<[email protected]> writes:

> Traceback (most recent call last):
>    File "/root/mystuff/mystuff/ex39_test.py", line 6, in <module>
>      hashmap.set(states, 'Oregon', 'OR')
>    File "/root/mystuff/mystuff/hashmap.py", line 50, in set
>      i, k, v = get_slot(aMap, key)
> TypeError: 'NoneType' object is not iterable

> Execution Successful!

Where does the message "Execution Successful!" come from?  It seems like
you have other code that you haven't shown us.

In any case, I saved your code and ran it, and did not get an error.

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to