If you want to declare that some methods shouldn’t be overridden by subclasses, use the decorator typing.final
.
This method is available for Python 3.8 and above.
If you want to declare that some methods shouldn’t be overridden by subclasses, use the decorator typing.final
.
This method is available for Python 3.8 and above.