Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp_bad.py
786:7cfb3ba08460
447:263cac32c8ba
2017-03-26
Paul Boddie
raw
annotate
files
changeset
graph
Moved literal instantiator definitions to the templates, reordering the parameters and employing bare arguments.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)