PythonExtra/tests/basics/builtin_filter.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
155 B
Python
Raw Normal View History

try:
filter
except:
print("SKIP")
raise SystemExit
2014-01-15 02:37:08 +01:00
print(list(filter(lambda x: x & 1, range(-3, 4))))
print(list(filter(None, range(-3, 4))))