A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20110509/82d1a583/attachment.html below:

<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
x = 5<br>
def foo ():<br>
        print (x)<br></div></div>
        if bar ():<br>
                x = 1<br>
        print (x)<font color="#888888"></font><br></blockquote></div><br>I wish you&#39;d annotate this code sample, what do you intend it to demonstrate?<br><br>It probably shows the original complaint even more strongly. As for being a problem with the suggested solution, I suppose you&#39;re right, although it doesn&#39;t make it much different. Still, before a *possible* assignment to &#39;x&#39;, it should be loaded as LOAD_NAME since it was surely not bound as local, yet.<br>

<br>Eli<br><br></div>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4