Source Package: python-overrides (7.7.0-2.8)
A decorator to automatically detect mismatch when overriding a method
A decorator @override that verifies that a method that should override an inherited method actually does it. Copies the docstring of the inherited method to the overridden method. Since signature validation and docstring inheritance are performed on class creation and not on class instantiation, this library significantly improves the safety and experience of creating class hierarchies in Python without significantly impacting performance. See https://stackoverflow.com/q/1167617 for the initial inspiration for this library.
Package information
- Homepage
- [https://github.com/mkorpela/overrides]
- License
- Apache-2.0
- Downstream package maintainer
- Unknown: not reported in the indexed source
The following binary packages are built from this source package:
- python313-overrides
A decorator to automatically detect mismatch when overriding a method
- python314-overrides
A decorator to automatically detect mismatch when overriding a method
