@@ -1259,7 +1259,7 @@ def khovanov_homology(self, ring=ZZ, height=None, degree=None, implementation='n
1259
1259
* ``'Khoca'`` -- uses the implementation of the optional package
1260
1260
``khoca``
1261
1261
1262
- - ``kwds`` -- dictionary of options to be passes to ``Khoca``
1262
+ - ``kwds`` -- dictionary of options to be passed to ``Khoca``
1263
1263
1264
1264
* ``reduced`` -- boolean (default ``False``); if
1265
1265
``True``, then returns the reduced homology
@@ -1275,6 +1275,7 @@ def khovanov_homology(self, ring=ZZ, height=None, degree=None, implementation='n
1275
1275
* ``root`` -- integer specifying a root of the modulus of the
1276
1276
Frobenius algeba
1277
1277
1278
+
1278
1279
OUTPUT:
1279
1280
1280
1281
The Khovanov homology of the Link. It is given as a dictionary
@@ -1315,7 +1316,7 @@ def khovanov_homology(self, ring=ZZ, height=None, degree=None, implementation='n
1315
1316
sage: K.khovanov_homology(base_ring=QQ)
1316
1317
Traceback (most recent call last):
1317
1318
...
1318
- ValueError: 'base_ring' is not a valid KnownKeywords
1319
+ ValueError: invalid keyword(s): [ 'base_ring']
1319
1320
1320
1321
TESTS:
1321
1322
@@ -1348,6 +1349,8 @@ def khovanov_homology(self, ring=ZZ, height=None, degree=None, implementation='n
1348
1349
check_kwds (** kwds )
1349
1350
elif implementation != 'native' :
1350
1351
raise ValueError ('%s is not a recognized implementation' )
1352
+ elif kwds :
1353
+ raise ValueError (f"invalid keyword(s): { list (kwds )} " )
1351
1354
1352
1355
if not self .pd_code (): # special case for the unknot with no crossings
1353
1356
from sage .homology .homology_group import HomologyGroup
0 commit comments