Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp.py
264:b22e901e12d6
2:3dff1f10598f
2016-11-28
Paul Boddie
raw
annotate
files
changeset
graph
Fixed default parameter filling, using the minimum number of arguments as the base of the default positions, not the actual number of arguments provided.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)