PythonExtra/tests/basics/dict_fromkeys2.py

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

11 lines
193 B
Python
Raw Normal View History

try:
reversed
except:
print("SKIP")
raise SystemExit
# argument to fromkeys has no __len__
d = dict.fromkeys(reversed(range(1)))
#d = dict.fromkeys((x for x in range(1)))
print(d)