Skip to content

Commit e44745d

Browse files
Newtech66vincentmacri
authored andcommitted
Delete 'implementation' keyword from AlgebraicExtensionFunctor constructor if exists
1 parent bfd4853 commit e44745d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sage/categories/pushout.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3294,7 +3294,10 @@ def __init__(self, polys, names, embeddings=None, structures=None,
32943294
if latex_names[i] == latex_variable_name(name):
32953295
latex_names[i] = None
32963296
self.latex_names = latex_names
3297-
self.kwds = kwds
3297+
kwds_self = dict(kwds.items())
3298+
if 'implementation' in kwds_self:
3299+
del kwds_self['implementation']
3300+
self.kwds = kwds_self
32983301

32993302
def _apply_functor(self, R):
33003303
"""

0 commit comments

Comments
 (0)