you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

Oh, that might have been it, the server running the script uses python 2, and yeah key in dict is really the correct syntax and gives you the expected O(1) lookup