quacks icon indicating copy to clipboard operation
quacks copied to clipboard

Support default values

Open ariebovenberg opened this issue 2 years ago • 0 comments

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.

ariebovenberg avatar Dec 17 '21 08:12 ariebovenberg