Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp.py
130:331aa7c15178
2:3dff1f10598f
2016-10-25
Paul Boddie
raw
annotate
files
changeset
graph
More elegantly allocated the context parameter for all callables. Rewrote the list comprehension result in get_allocated_locations.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)