<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Scope on Karpoke - Just Another Blog</title><link>http://karpoke.ignaciocano.com/tags/scope/</link><description>Recent content in Scope on Karpoke - Just Another Blog</description><generator>Hugo -- 0.167.0</generator><language>es</language><lastBuildDate>Wed, 18 Feb 2015 00:04:00 +0100</lastBuildDate><atom:link href="http://karpoke.ignaciocano.com/tags/scope/index.xml" rel="self" type="application/rss+xml"/><item><title>The scope of index variables in Python’s for loops</title><link>http://karpoke.ignaciocano.com/2015/02/18/the-scope-of-index-variables-in-pythons-for-loops/</link><pubDate>Wed, 18 Feb 2015 00:04:00 +0100</pubDate><guid>http://karpoke.ignaciocano.com/2015/02/18/the-scope-of-index-variables-in-pythons-for-loops/</guid><description>&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;The Python reference documentation explicitly documents this behavior
in the section on for loops:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;The for-loop makes assignments to the variables(s) in the target
list. [&amp;hellip;] Names in the target list are not deleted when the loop
is finished, but if the sequence is empty, they will not have been
assigned to at all by the loop.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;» Eli Bendersky | &lt;a href="http://eli.thegreenplace.net/2015/the-scope-of-index-variables-in-pythons-for-loops/"&gt;eli.thegreenplace.net&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>