syntax glitch with +=
Jp Calderone
exarkun at intarweb.us
Fri Feb 21 11:52:17 EST 2003
On Fri, Feb 21, 2003 at 06:12:36PM +0300, Denis S. Otkidach wrote:
> On Thu, 20 Feb 2003, Jp Calderone wrote:
>
> JC> Not if you use a global declaration (or if you don't,
> JC> since an exception
> JC> is raised and the assignment never occurs ;)
>
> You are not right, it changes value in-place (if possible) _and_
> assign it to the same variable.
>
That's what I said.
--
Seduced, shaggy Samson snored.
She scissored short. Sorely shorn,
Soon shackled slave, Samson sighed,
Silently scheming,
Sightlessly seeking
Some savage, spectacular suicide.
-- Stanislaw Lem, "Cyberiad"
--
up 12 days, 20:28, 4 users, load average: 0.41, 0.52, 0.44
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030221/9db42dd4/attachment.sig>
More information about the Python-list
mailing list