[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] PEP 572: Do we really need a ":" in ":="?

On Thu, Jul 5, 2018, 7:46 PM Alexander Belopolsky <
alexander.belopolsky at gmail.com> wrote:

>  It also appears that there are no cases where = can be substituted for :=
> and not cause a syntax error.  This means that ":" in ":=" is strictly
> redundant.

Under your proposal, this is ambiguous: 'myfun(foo=5, bar=7)'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180705/c8703af1/attachment.html>