Python - What's the use of if True:?
<p>I just came accross the following code in an existent project, which I'm working on:</p>

<pre><code>if True:
    x = 5
    y = 6
    return x+y
else:
    return 'Something
</code></pre>

<p>Inside the if True are lots of conditions and some will also return the function already.
Why would somebody write in that way? The code contained some other bugs also, but was just wondering about the if True: statement as it didn't make any sense to me. Probably also pretty stupid to ask it, but was wondering hehe.</p>
