Skip to content

Implements a mantra for declaring abstract methods #6097

@nthiery

Description

@nthiery

This patch implements a decorator tha can be used to declare a method
that should be implemented by derived classes. This declaration should
typically include documentation for the specification for this method.

The purpose is to enforce a consistent and visual mantra for such
declarations. This is also used by #5891 for automated tests.

CC: @sagetrac-sage-combinat

Component: misc

Keywords: abstract methods

Author: Nicolas M. Thiéry

Reviewer: Robert Bradshaw

Merged: sage-4.1.alpha2

Issue created by migration from https://trac.sagemath.org/ticket/6097

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions