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

Commit

Permalink
src/sage/rings/integer.pyx: Mark doctests # optional - sage.libs.pari…
Browse files Browse the repository at this point in the history
…, sage.rings.number_field, sage.symbolic
  • Loading branch information
Matthias Koeppe committed Jan 27, 2023
1 parent 58f7767 commit c9afec2
Show file tree
Hide file tree
Showing 2 changed files with 207 additions and 186 deletions.
21 changes: 21 additions & 0 deletions src/sage/features/sagemath.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,27 @@ def __init__(self):
[PythonModule('sage.groups.perm_gps.permgroup')])


class sage__libs__pari(JoinFeature):
r"""
A :class:`sage.features.Feature` describing the presence of :mod:`sage.libs.pari`.
EXAMPLES::
sage: from sage.features.sagemath import sage__libs__pari
sage: sage__libs__pari().is_present() # optional - sage.libs.pari
FeatureTestResult('sage.libs.pari', True)
"""
def __init__(self):
r"""
TESTS::
sage: from sage.features.sagemath import sage__libs__pari
sage: isinstance(sage__libs__pari(), sage__libs__pari)
True
"""
JoinFeature.__init__(self, 'sage.libs.pari',
[PythonModule('sage.libs.pari.convert_sage')])

class sage__plot(JoinFeature):
r"""
A :class:`~sage.features.Feature` describing the presence of :mod:`sage.plot`.
Expand Down
Loading

0 comments on commit c9afec2

Please sign in to comment.