summaryrefslogtreecommitdiff
path: root/tests/functional/u/useless/useless_super_delegation_py38.py
blob: ec402299f7e63748f359598629da762d42569971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# pylint: disable=missing-docstring,too-few-public-methods
from typing import Any


class Egg:
    def __init__(self, first: Any, /, second: Any) -> None:
        pass


class Spam(Egg):
    def __init__(self, first: float, /, second: float) -> None:
        super().__init__(first, second)


class Ham(Egg):
    def __init__(self, first: Any, /, second: Any) -> None:  # [useless-super-delegation]
        super().__init__(first, second)