Skip to content

fix: correct sumset() docstring - #15039

Open
deepshekhardas wants to merge 1 commit into
TheAlgorithms:masterfrom
deepshekhardas:fix-15013-sumset-docstring
Open

fix: correct sumset() docstring#15039
deepshekhardas wants to merge 1 commit into
TheAlgorithms:masterfrom
deepshekhardas:fix-15013-sumset-docstring

Conversation

@deepshekhardas

@deepshekhardas deepshekhardas commented Aug 17, 2026

Copy link
Copy Markdown

Describe your change

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Add, change, or clarify documentation?

What does this implement/fix?

The docstring of sumset() in maths/sumset.py was a copy-paste from sylvester_sequence.py. Correct the param names and return description to describe the sumset (all pairwise sums a + b).

Additional comments?

None.

Fixes #15013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: maths/sumset.py docstring incorrectly references Sylvester's sequence

1 participant