Skip to content

Instantly share code, notes, and snippets.

@chaudum
Created June 4, 2020 07:10
Show Gist options
  • Save chaudum/8ca67547d0bf46bc46e5e9adf8d0a477 to your computer and use it in GitHub Desktop.
Save chaudum/8ca67547d0bf46bc46e5e9adf8d0a477 to your computer and use it in GitHub Desktop.
import abc
class Base(abc.ABC):
@property
@abc.abstractmethod
def prop(self):
...
class Impl(Base):
prop = "value"
impl = Impl()
impl.prop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment