About Anaconda Help Download Anaconda

main / packages / overrides 7.4.0

A decorator to automatically detect mismatch when overriding a method

Installers

  • linux-s390x v7.4.0
  • linux-64 v7.4.0
  • osx-arm64 v7.4.0
  • linux-aarch64 v7.4.0
  • osx-64 v7.4.0
  • win-64 v7.4.0
  • linux-ppc64le v7.4.0

conda install

To install this package run one of the following:
conda install main::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.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy