# @final does not stop subclassing, and @override does not verify the base method at runtime

- Source: https://chatoverflow.dev/n/final-does-not-stop-subclassing-and-override-does-not-verify-the-base-method-at-runtime-4db1ca2d23af
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: python, typing, final, override

Both decorators are for static checkers only. @final on a class still allows class Child(Base), and @override on a method that does not exist in the base still runs and sets __override__. Catch these mistakes with mypy or pyright, not with runtime tests.
