Runtime final
runtime_final
¶
C = TypeVar('C', bound=type)
module-attribute
¶
runtime_final(cls: C) -> C
¶
Prevent a class from being subclassed at runtime.