About Anaconda Help Download Anaconda

A decorator to automatically detect mismatch when overriding a method

Installers

  • linux-64 v7.4.0

conda install

To install this package run one of the following:
conda install anacondaproserve::overrides

Description

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.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.2) Legal | Privacy Policy