Ticket #6097 (closed enhancement: fixed)
[with patch, positive review] Implements a mantra for declaring abstract methods
| Reported by: | nthiery | Owned by: | nthiery |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.1 |
| Component: | misc | Keywords: | abstract methods |
| Cc: | sage-combinat | Author(s): | Nicolas Thiéry |
| Report Upstream: | Reviewer(s): | Robert Bradshaw | |
| Merged in: | sage-4.1.alpha2 | Work issues: |
Description (last modified by nthiery) (diff)
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

