3 ms·
The thing is, it is only enforced in mypy... code that modifies a Final object (pi = 3 for example) later on will run fine.
by spott 7y ago
The thing is, it is only enforced in mypy... code that modifies a Final object (pi = 3 for example) later on will run fine.
- dharmab 7y agoCorrect- as usual the annotation indicates intent, but is not enforced at runtime.