title: How does hash() compute the hash of a tuple?
body: <p>How does the function <a href="https://docs.python.org/3/library/functions.html#hash" rel="nofollow noreferrer"><code>hash()</code></a> compute the hash value of a tuple? For example:</p>
  
  <pre><code>t = (1,2,3)
  print(hash(t))
  </code></pre>
  
  <p>Gives an output</p>
  
  <pre><code>-378539185
  </code></pre>