Skip to content

Conversation

@KotlinIsland KotlinIsland marked this pull request as draft December 20, 2024 09:30
@KotlinIsland KotlinIsland force-pushed the abstract-attributes branch 2 times, most recently from f1ec195 to 95663de Compare January 2, 2025 17:12
@ghost
Copy link

ghost commented Mar 3, 2025

what about:

@abstract
class A:
    @abstract
    def f(self): ...

class B:
    def f(self):
        print("hi")

class C(A, B):  # error, this is abstract
    pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant