<gh_stars>1000+
# This sample tests the special-case handling of Self when comparing
# two functions whose signatures differ only in the Self scope.


class SomeClass:
    def __str__(self) -> str:
        ...

    __repr__ = __str__

# This sample tests the special-case handling of Self when comparing
# two functions whose signatures differ only in the Self scope.


class SomeClass:
    def __str__(self) -> str:
        ...

    __repr__ = __str__
# This sample tests the special-case handling of Self when comparing # two functions whose signatures differ only in the Self scope.