Quick survey: locals in comprehensions (Python 3 only)
Steven D'Aprano
steven.d'aprano at 1
Sun Jun 24 06:22:06 EDT 2018
From: Steven D'Aprano <steve+comp.lang.python at pearwood.info>
On Sun, 24 Jun 2018 15:18:49 +1000, Chris Angelico wrote:
> Personally, I think it should give you [1, 2], the two values from the
> function's locals.
Thank you, that's the sort of answer I'm looking for.
(I'm not saying I didn't read your long and involved analysis, only that I'm
not looking for long involved analyses at the moment :-)
--
Steven D'Aprano
"Ever since I learned about confirmation bias, I've been seeing it everywhere."
-- Jon Ronson
--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38)
More information about the Python-list
mailing list