Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list)

Ian Kelly ian.g.kelly at gmail.com
Sun Mar 30 12:03:47 EDT 2014


On Mar 30, 2014 9:26 AM, "Steven D'Aprano" <
steve+comp.lang.python at pearwood.info> wrote:
>
> On Sat, 29 Mar 2014 03:21:29 -0500, Mark H Harris wrote:
> > from a computer historical standpoint too. I mean, think
> > about it, computers have only existed since late 1940s and only in their
> > modern context since about 1989. I didn't really start using unicode
> > until about 5 years ago; python has only really used it since python3.
> > right?
>
> No. Python 2.2 introduced Unicode.

Python 2.0 if the PEP 100 metadata is accurate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140330/8952751c/attachment.html>


More information about the Python-list mailing list