quacks
quacks copied to clipboard
Support default values
For now, this is disabled:
class A(Protocol):
b: int = 4
According to PEP544, Protocols can declare an implementation that is usable as an abstract default.