On 19/03/13 00:50, Neal Becker 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.


What meaning would you give to "F(x) = 3", and why?



--
Steven
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to