Datasets:
File size: 227 Bytes
5eb110b | 1 2 3 4 5 6 7 8 9 | class Foo(Protocol):
@property
def c(self) -> int:
return 42 # Default value can be provided for property...
@abstractproperty
def d(self) -> int: # ... or it can be abstract
return 0
|