[Python-ideas] Inline assignments using "given" clauses

Chris Angelico rosuav at gmail.com
Fri May 4 15:30:39 EDT 2018


On Sat, May 5, 2018 at 5:27 AM, Matt Arcidy <marcidy at gmail.com> wrote:
>> I'd also say that the difficulty of Googling for the meaning of ":="
>> shouldn't be exaggerated. Currently you can search for "python operators"
>> and get tons of sites that list all operators.
>
>
> Without adding hits to the search algorithm, this will remain the case.
> Google must have clicks to rank up.  Right now there is no page, nothing on
> a high "Google juice" page like python.org, no one searching for it, and no
> mass of people clicking on it.  no SO questions, etc.

Did you try? I searched for 'python :=' and for 'python colon equals'
and got this hit each time:

https://stackoverflow.com/questions/26000198/what-does-colon-equal-in-python-mean

Which, incidentally, now has a response to it citing PEP 572.

Good ol' Stack Overflow.

ChrisA


More information about the Python-ideas mailing list