[Python-Dev] SyntaxError: can't assign to function call (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Thu Aug 10 10:35:18 CEST 2006
- Previous message: [Python-Dev] SyntaxError: can't assign to function call
- Next message: [Python-Dev] SyntaxError: can't assign to function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neal Becker schrieb:
1) Should assignment to a temporary object be allowed?
Unlike Michael, I think the question does make sense, and the answer is "no", for the reason Michael gave: you assign to names, not to objects.
2) Should the syntax for creation of a temporary object be a constructor call?
Now, that question makes no sense. Why do you need special syntax to create a temporary object?
Regards, Martin
- Previous message: [Python-Dev] SyntaxError: can't assign to function call
- Next message: [Python-Dev] SyntaxError: can't assign to function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]