2016-11-27 | Paul Boddie | file changeset files shortlog | Introduced the remaining store operations, raising TypeError for class-relative assignments via instances, permitting object-relative accesses and signalling inappropriate accessors at run-time. |
paul@2 | 1 | def f(l, y): |
paul@2 | 2 | return [x for x in l if x > y] |
paul@2 | 3 | |
paul@2 | 4 | result = f([1, 2, 3], 2) |