HUANG YUWEI wrote:
# calling func() with using the karg_return argument
output = func(2,3,karg1=4,a:=karg_return)
This would be ambiguoius, because a:=karg_return is valid as an
ordinary expression with an embedded assignment.
--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/DJKIDUE6VX6HM4SFR7HM77ECXHMBL3L3/
Code of Conduct: http://python.org/psf/codeofconduct/