News for hackers. Stuff that matters.
Re:Pattern matching accepted for Python by amirkdv on Tuesday February 09, 2021 @11:50PM (#26085839)
Worth noting that this was _fixed_ in Python 3.

In Python 2.7 you get this:

    >>> my_list = [x for x in 'hello']
    >>> x
    'o'

There are no comments on this comment yet.