Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp_bad.py
778:287b154329b0
447:263cac32c8ba
2017-03-25
Paul Boddie
raw
annotate
files
changeset
graph
Made type-specific literal instantiation functions where the tuple instantiator allocates the tuple attributes and elements at the same time.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)