Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list)
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Mon Apr 7 08:19:56 EDT 2014
On Mon, 07 Apr 2014 07:54:27 +0300, Marko Rauhamaa wrote:
> Steven D'Aprano <steve+comp.lang.python at pearwood.info>:
>
>> On Sun, 06 Apr 2014 23:10:47 +0300, Marko Rauhamaa wrote:
>>> It is academic because the author, Raymond Smullyan, was a professor
>>> of philosophy and, more importantly, my professor selected that as a
>>> textbook for us graduate students.
>>
>> Ah. Well they do that, don't they? I've always consider the ability of
>> professors to select their own book as text to be a classic case of
>> conflict of interest. They're supposed to pick the best book, not
>> necessarily the one that earns them money.
>
> Note that "my professor" above was not Raymond Smullyan.
Ah! Sorry about that, I misread your post as implying he was your
professor.
--
Steven D'Aprano
http://import-that.dreamwidth.org/
More information about the Python-list
mailing list