views:

97

answers:

1

Couldn't really find it, but probably it's me not knowing how to search properly :(

Just wanted to find out what the name is for:

[x for x in some_list]

type of construct?

+14  A: 

It's a list comprehension

Triptych