@staticmethod gives SyntaxError: invalid syntax
<p>I have been using a python script for a long while and all of sudden it gives me:</p>

<pre><code>  File "youtube-dl.py", line 103
    @staticmethod
    ^
SyntaxError: invalid syntax
</code></pre>

<p>If you want to see the script, its right here: <a href="http://bitbucket.org/rg3/youtube-dl/raw/2009.06.29/youtube-dl" rel="nofollow">http://bitbucket.org/rg3/youtube-dl/raw/2009.06.29/youtube-dl</a></p>

<p>What could be the reason?</p>

<h2>Update</h2>

<p>I am using python version Python 2.3.4.</p>
