blob: 5a0b2124c2d3f04c61c1b5802dfbd464c4a8a61f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
""" Dictionaries are reversible starting on python 3.8"""
# pylint: disable=missing-docstring
reversed({'a': 1, 'b': 2}) # [bad-reversed-sequence]
class InheritDict(dict):
pass
reversed(InheritDict({'a': 1, 'b': 2})) # [bad-reversed-sequence]
|