Skip to content

Commit

Permalink
Small doc formatting tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
tscrim committed Sep 8, 2023
1 parent 4b88180 commit 666dd0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/rings/lazy_series_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ def prod(self, f, a=None, b=infinity, add_one=False):
If ``a`` and ``b`` are both integers, then this returns the product
`\prod_{i=a}^b f(i)`, where `f(i) = p_i` if ``add_one=False`` or
`f(i) = 1 + p_i` otherwise. If ``b`` is not specified, then we consider
`b = \infty`. Note this corresponds to the Python `range(a, b+1)`.
`b = \infty`. Note this corresponds to the Python ``range(a, b+1)``.
If `a` is any other iterable, then this returns the product
`\prod_{i \in a} f(i)`, where `f(i) = p_i` if ``add_one=False`` or
Expand Down Expand Up @@ -1002,7 +1002,7 @@ def sum(self, f, a=None, b=infinity):
If ``a`` and ``b`` are both integers, then this returns the sum
`\sum_{i=a}^b f(i)`. If ``b`` is not specified, then we consider
`b = \infty`. Note this corresponds to the Python `range(a, b+1)`.
`b = \infty`. Note this corresponds to the Python ``range(a, b+1)``.
If `a` is any other iterable, then this returns the sum
`\sum{i \in a} f(i)`.
Expand Down

0 comments on commit 666dd0c

Please sign in to comment.