Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp_bad.py
816:c4a8c2683169
447:263cac32c8ba
2017-06-16
Paul Boddie
raw
annotate
files
changeset
graph
Permit usage of attributes in mix-in class (and base class) methods that must be provided by descendant classes or their instances.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)