Python Syntax Error on Bit Literal
<p>I have inherited this python program and, being sort of a noob with bits and such I can't figure out what the problem is. I am getting a syntax error on the first line of the following function:</p>

<pre><code>def tileKey(self, z, x, y):
    zBits = z &amp; 0xFFL
    #  8bits, 256 levels. normally [0,21]
    xBits = x &amp; 0xFFFFFFFL
    #  28 bits
    yBits = y &amp; 0xFFFFFFFL
    #  28 bits
    key = (zBits &lt;&lt; 56) | (xBits &lt;&lt; 28) | (yBits &lt;&lt; 0)
    #  return the key value integer 720576213915009588
    return key
</code></pre>
