title: Hashing a tuple in Python where order matters?
body: <p>I have:</p>
  
  <pre><code>tuple1 = token1, token2
  tuple2 = token2, token1
  for tuple in [tuple1, tuple2]:
      if tuple in dict:
          dict[tuple] += 1
      else:
          dict[tuple] = 1
  </code></pre>
  
  <p>However, both tuple 1 and tuple2 are getting the same counts. What is a way to hash a group of 2 things such that order matters?</p>