From 25a312ded5b3bc7f3887df3d9d359fbdbf7e25a4 Mon Sep 17 00:00:00 2001 From: Satyam Kumar Date: Tue, 25 Aug 2026 19:39:01 +0530 Subject: [PATCH] Fix docstring copy-paste error in maths/sumset.py (#15052) The docstring incorrectly referenced Sylvester's sequence (a copy-paste error from maths/sylvester_sequence.py) and used param names that did not match the actual function signature. Fixes #15013 Co-authored-by: kumarsatyam9378-art --- maths/sumset.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maths/sumset.py b/maths/sumset.py index fa18f9e24..6bfb8bfd2 100644 --- a/maths/sumset.py +++ b/maths/sumset.py @@ -10,9 +10,9 @@ Source: def sumset(set_a: set, set_b: set) -> set: """ - :param first set: a set of numbers - :param second set: a set of numbers - :return: the nth number in Sylvester's sequence + :param set_a: a set of numbers + :param set_b: a set of numbers + :return: the sumset of set_a and set_b (all pairwise sums a + b) >>> sumset({1, 2, 3}, {4, 5, 6}) {5, 6, 7, 8, 9}