2020-01-06 13:26:00 +01:00
|
|
|
"""
|
|
|
|
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.
|
|
|
|
"""
|
2020-03-23 03:26:08 +01:00
|
|
|
print({1: 2, 3: 4}.keys() & {1})
|