title: Why does unpacking a struct result in a tuple?
body: <p>After packing an integer in a Python struct, the unpacking results in a tuple even if it contains only one item. Why does unpacking return a tuple?</p>
  
  <pre><code>&gt;&gt;&gt; x = struct.pack("&gt;i",1)
  
  &gt;&gt;&gt; str(x)
  '\x00\x00\x00\x01'
  
  &gt;&gt;&gt; y = struct.unpack("&gt;i",x)
  
  &gt;&gt;&gt; y
  (1,)
  </code></pre>