[Python-Dev] can't assign to function call
Neal Becker
ndbecker2 at gmail.com
Mon Mar 18 14:50:17 CET 2013
More information about the Python-Dev mailing list
Mon Mar 18 14:50:17 CET 2013
- Previous message: [Python-Dev] [Python-checkins] peps: Update for 436, explicitly supporting positional parameters forever, amen.
- Next message: [Python-Dev] can't assign to function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] [Python-checkins] peps: Update for 436, explicitly supporting positional parameters forever, amen.
- Next message: [Python-Dev] can't assign to function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list