From 666dd0c6981b8dd6ff103565fa990539ca9ceafd Mon Sep 17 00:00:00 2001 From: Travis Scrimshaw Date: Fri, 8 Sep 2023 14:31:11 +0900 Subject: [PATCH] Small doc formatting tweak. --- src/sage/rings/lazy_series_ring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sage/rings/lazy_series_ring.py b/src/sage/rings/lazy_series_ring.py index e9308946514..4f3e85d02bc 100644 --- a/src/sage/rings/lazy_series_ring.py +++ b/src/sage/rings/lazy_series_ring.py @@ -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 @@ -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)`.