Closed auscompgeek closed 4 years ago
This makes user code type-check without paying any runtime cost, with the caveat that this doesn't behave correctly only in __init__.
__init__
If you prefer that this lives in the code itself, I can do that instead, with the caveat that the behaviour will change in __init__.
This makes user code type-check without paying any runtime cost, with the caveat that this doesn't behave correctly only in
__init__
.