@@ -1673,23 +1673,23 @@ def set_expr(self, coord_expression, chart=None):
16731673 sage: f._express # the (u,v) expression has been lost:
16741674 {Chart (M, (x, y)): 3*y}
16751675
1676- Since zero and one are special elements, their components cannot be
1676+ Since zero and one are special elements, their expressions cannot be
16771677 changed::
16781678
16791679 sage: z = M.zero_scalar_field()
16801680 sage: z.set_expr(3*y)
16811681 Traceback (most recent call last):
16821682 ...
1683- AssertionError: the components of the element zero cannot be changed
1683+ AssertionError: the expressions of the element zero cannot be changed
16841684 sage: one = M.one_scalar_field()
16851685 sage: one.set_expr(3*y)
16861686 Traceback (most recent call last):
16871687 ...
1688- AssertionError: the components of the element 1 cannot be changed
1688+ AssertionError: the expressions of the element 1 cannot be changed
16891689
16901690 """
16911691 if self is self .parent ().one () or self is self .parent ().zero ():
1692- raise AssertionError ("the components of the element "
1692+ raise AssertionError ("the expressions of the element "
16931693 "{} cannot be changed" .format (self ._name ))
16941694 if chart is None :
16951695 chart = self ._domain ._def_chart
@@ -1735,23 +1735,23 @@ def add_expr(self, coord_expression, chart=None):
17351735 sage: f._express # random (dict. output); f has now 2 expressions:
17361736 {Chart (M, (x, y)): 3*y, Chart (M, (u, v)): cos(u) - sin(v)}
17371737
1738- Since zero and one are special elements, their components cannot be
1738+ Since zero and one are special elements, their expressions cannot be
17391739 changed::
17401740
17411741 sage: z = M.zero_scalar_field()
17421742 sage: z.add_expr(cos(u)-sin(v), c_uv)
17431743 Traceback (most recent call last):
17441744 ...
1745- AssertionError: the components of the element zero cannot be changed
1745+ AssertionError: the expressions of the element zero cannot be changed
17461746 sage: one = M.one_scalar_field()
17471747 sage: one.add_expr(cos(u)-sin(v), c_uv)
17481748 Traceback (most recent call last):
17491749 ...
1750- AssertionError: the components of the element 1 cannot be changed
1750+ AssertionError: the expressions of the element 1 cannot be changed
17511751
17521752 """
17531753 if self is self .parent ().one () or self is self .parent ().zero ():
1754- raise AssertionError ("the components of the element "
1754+ raise AssertionError ("the expressions of the element "
17551755 "{} cannot be changed" .format (self ._name ))
17561756 if chart is None :
17571757 chart = self ._domain ._def_chart
0 commit comments