[Python-Dev] SyntaxError: can't assign to function call

Michael Hudson mwh at python.net
Wed Aug 9 22:19:40 CEST 2006


Neal Becker <ndbecker2 at gmail.com> writes:

> 1) Should assignment to a temporary object be allowed?

The question doesn't make sense: in Python, you assign to a name,
an attribute or a subscript, and that's it.

Cheers,
mwh

-- 
  <exarkun> I think there's a rather large difference between a stale
            twinkie and a kernel swap daemon
                                                -- from Twisted.Quotes


More information about the Python-Dev mailing list