Skip to content

Commit a1d23b5

Browse files
committed
Reviewer's comments
1 parent 58774c7 commit a1d23b5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/sage/algebras/commutative_dga.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ def __call__(self, *values, **kwargs):
15721572
INPUT:
15731573
15741574
- ``values`` -- (optional) either the values in which the variables
1575-
will be evaluated or a dictionary.
1575+
will be evaluated or a dictionary
15761576
15771577
OUTPUT:
15781578
@@ -1612,7 +1612,6 @@ def __call__(self, *values, **kwargs):
16121612
sage: f = x*y - 5*y*z + 7*x*y^2*z^3*t
16131613
sage: f({x:1}, t=x,y=z)
16141614
7*y^2*z^3*t - 5*y*z + y
1615-
16161615
"""
16171616
gens = self.parent().gens()
16181617
images = list(gens)
@@ -1632,7 +1631,7 @@ def __call__(self, *values, **kwargs):
16321631
images = list(gens)
16331632
for (i, g) in enumerate(gens):
16341633
gstr = str(g)
1635-
if gstr in kwargs.keys():
1634+
if gstr in kwargs:
16361635
images[i] = kwargs[gstr]
16371636
res = 0
16381637
for (m, c) in self.dict().items():

0 commit comments

Comments
 (0)