[Python-ideas] PEP 505 (None coalescing operators) thoughts
Nikolaus Rath
Nikolaus at rath.org
Thu Oct 1 00:42:10 CEST 2015
On Sep 30 2015, Andrew Barnert via Python-ideas <python-ideas-+ZN9ApsXKcEdnm+yROfE0A at public.gmane.org> wrote:
> Also, explicit "it" would be usable in other situations:
>
> z = dangerous_thing(arg) if it.value() > 3 else DummyValue(3)
Really? I'm not sure if "it" is "dangerous_thing" or
"dangerous_thing(arg)".
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