"variable, variable =" syntax in python?
<p>I'm just getting started in python, and either haven't read about this, or missed it, and I don't know what to search for to find my answer.</p>

<p>Playing around with the IMAP module I came across this line of code.</p>

<pre><code>result, data = mail.search(None, "ALL")
</code></pre>

<p>What is happening with the two variables here? Is this a syntax that is used when methods return a certain way, or does it always work? Could someone either explain what's going on here, or point me to some documentation?</p>
