[Python-Dev] can't assign to function call (original) (raw)
Skip Montanaro skip at pobox.com
Mon Mar 18 16:57:03 CET 2013
- Previous message: [Python-Dev] can't assign to function call
- Next message: [Python-Dev] Recent changes to TextIOWrapper and its tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Mar 18, 2013 at 8:50 AM, Neal Becker <ndbecker2 at gmail.com> wrote:
def F(x): return x
x = 2 F(x) = 3 F(x) = 3 SyntaxError: can't assign to function call Do we really need this restriction? There do exist other languages without it.
I think this belongs on python-ideas before launching into discussions of syntax and semantics on python-dev.
Skip
- Previous message: [Python-Dev] can't assign to function call
- Next message: [Python-Dev] Recent changes to TextIOWrapper and its tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]