Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp_bad.py
794:7dd8e4815848
447:263cac32c8ba
2017-03-31
Paul Boddie
raw
annotate
files
changeset
graph
Introduced a multiple outcome result which can be used to provide a choice of return values to supply the initialiser and alias details.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)