|
28 | 28 | Here we test whether the grape GAP package is available::
|
29 | 29 |
|
30 | 30 | sage: from sage.features.gap import GapPackage
|
31 |
| - sage: GapPackage("grape", spkg="gap_packages").is_present() # optional - gap_packages |
| 31 | + sage: GapPackage("grape", spkg="gap_packages").is_present() # optional - gap_package_grape |
32 | 32 | FeatureTestResult('gap_package_grape', True)
|
33 | 33 |
|
34 | 34 | Note that a :class:`FeatureTestResult` acts like a bool in most contexts::
|
@@ -188,7 +188,7 @@ def is_present(self):
|
188 | 188 | EXAMPLES::
|
189 | 189 |
|
190 | 190 | sage: from sage.features.gap import GapPackage
|
191 |
| - sage: GapPackage("grape", spkg="gap_packages").is_present() # optional - gap_packages |
| 191 | + sage: GapPackage("grape", spkg="gap_packages").is_present() # optional - gap_package_grape |
192 | 192 | FeatureTestResult('gap_package_grape', True)
|
193 | 193 | sage: GapPackage("NOT_A_PACKAGE", spkg="gap_packages").is_present()
|
194 | 194 | FeatureTestResult('gap_package_NOT_A_PACKAGE', False)
|
@@ -809,7 +809,7 @@ class StaticFile(FileFeature):
|
809 | 809 | To install no_such_file...you can try to run...sage -i some_spkg...
|
810 | 810 | Further installation instructions might be available at http://rand.om.
|
811 | 811 | """
|
812 |
| - def __init__(self, name, filename, search_path=None, type='optional', **kwds): |
| 812 | + def __init__(self, name, filename, *, search_path=None, type='optional', **kwds): |
813 | 813 | r"""
|
814 | 814 | TESTS::
|
815 | 815 |
|
|
0 commit comments