Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp.py
69:b3af2a716a28
2:3dff1f10598f
2016-09-29
Paul Boddie
raw
annotate
files
changeset
graph
Simplified access classification, removing the superfluous kind-related attribute detail dictionaries. Introduced a common general type computation method.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)