title: python struct.error: ushort format requires 0 <= number <= USHRT_MAX
body: <p>I'm using python to do one test:</p>
  
  <pre><code>print struct.pack('1H', 101000)
  </code></pre>
  
  <p>It shows me this error:</p>
  
  <pre>struct.error: ushort format requires 0 &lt;= number &lt;= USHRT_MAX</pre>
  
  <p>I'm confused about this, as I know 1H means unsigned short which means this first bit can be used, so the max scope of 1H should be 0 &lt;= number &lt;= (2 &lt;&lt; 16) - 1 (that means 131071), so why does it show me this error?</p>