Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Feature: Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 7, 2021
1 parent d7bd9c4 commit 9ee3243
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/sage/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ class Feature(TrivialUniqueRepresentation):
r"""
A feature of the runtime environment
INPUT:
- ``name`` -- (string) name of the feature; this should be suitable as an optional tag
for the Sage doctester, i.e., lowercase alphanumeric with underscores (``_``) allowed;
features that correspond to Python modules/packages may use periods (``.``)
- ``spkg`` -- (string) name of the SPKG providing the feature
- ``url`` -- a URL for the upstream package providing the feature
Overwrite :meth:`_is_present` to add feature checks.
EXAMPLES::
Expand Down

0 comments on commit 9ee3243

Please sign in to comment.