summaryrefslogtreecommitdiff
path: root/tests/functional/b/bad_reversed_sequence_py38.py
blob: 4651eb4f8366fb5fb574d254d158a21fd91f7bcb (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})


class InheritDict(dict):
    """Inherits from dict"""


reversed(InheritDict({'a': 1, 'b': 2}))