Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
Annotated tests/listcomp.py
376:333e1b23f4e4
2:3dff1f10598f
2016-12-11
Paul Boddie
file
changeset
files
shortlog
Allocate separate strings for the function results. Fixed comments.
paul@2
1
def
f
(
l
,
y
):
paul@2
2
return
[
x
for
x
in
l
if
x
>
y
]
paul@2
3
paul@2
4
result
=
f
([
1
,
2
,
3
],
2
)