Not possible to do (a, b) += (1, 2) in python?
<p>The following line doesn't seem to work:</p>

<pre><code>(count, total) += self._GetNumberOfNonZeroActions((state[0] + x, state[1] - ring, state[2]))
</code></pre>

<p>I guess it is not possible to use the += operator in this case. I wonder why?</p>

<p>edit: Actually what I want is to add to variables count and total the values given by the tuple returned by that function. Now that I think of it, it doesn't make sense to allow (a, b) += (1, 2), as it would be creating a new tuple, right?</p>

<p>In other words, s there a way to simplify this?</p>

<pre><code>    res = self._GetNumberOfNonZeroActions((state[0] + x, state[1] + ring, state[2]))
    count, total = res[0], res[1]
</code></pre>
