[Python-ideas] Unpacking a dict

Nikolaus Rath Nikolaus at rath.org
Thu May 26 14:35:41 EDT 2016


On May 27 2016, Steven D'Aprano <steve-iDnA/YwAAsAk+I/owrrOrA at public.gmane.org> wrote:
> On Thu, May 26, 2016 at 04:10:10PM +0200, Michel Desmoulin wrote:
>
>> The thing with those details is that you can completly ignore them, and
>> don't know they exist, and simply look it up when you need it.
>
> What Google search terms would a Python programmer use to find out what
>
> {"1": a, "foo.bar": b, **c} = **mapping
>
> does?

"python syntax reference"


That said, I don't like the idea either. But anything that introduces
new syntax is going to be hard to Google. How do you Google what

def foo(bar) -> "something obscure"

means in Python?

Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


More information about the Python-ideas mailing list