blob: 3a0849a35564cdf44624c72e3ec990955d25fdc8 (
plain)
1
2
3
4
5
6
7
|
"""
categories: Types,dict
description: Dictionary keys view does not behave as a set.
cause: Not implemented.
workaround: Explicitly convert keys to a set before using set operations.
"""
print({1: 2, 3: 4}.keys() & {1})
|